Part Number Hot Search : 
5KP40CA 060PB 09231 S2003 SCH2809 2500T C1100 C3331
Product Description
Full Text Search
 

To Download PCI2031 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
D D D D D D D D D D D
PCI Power Management Compliant ACPI 1.0 Compliant Supports PCI Local Bus Specification 2.1 and PCI-to-PCI Bridge Specification 1.0 3.3-V Core Logic With Universal PCI Interfaces Compatible With 3.3-V and 5-V PCI Signaling Environments Supports Two 32-Bit, 33-MHz PCI Buses Provides Internal Arbitration for Up to Six Secondary Bus Masters With Programmable Control Provides Six Secondary PCI Bus Clock Outputs Supports Burst Transfers to Maximize Data Throughput on Both PCI Buses Provides Two Extension Windows EEPROM Interface for Loading Texas Instruments (TITM) Subsystem ID and Subsystem Vendor ID Four Primary and Four Secondary General-Purpose I/Os
D D D D D D D D D D D D D D
Secondary Positive Decode Independent Read and Write Buffers for Each Direction Predictable Latency: Compliant With PCI Local Bus Specification 2.1 External Arbiter Option Provides Concurrent Operation Serial IRQ Bridging Propagates Bus Locking Supports PCI Clock Run Secondary Bus Driven Low During Reset Docking Connect Detects PCI Local Bus Specification 2.0-Compliant Device Optimization Advanced Submicron, Low-Power CMOS Technology Provides VGA/Palette Memory and I/O, and Subtractive Decoding Options Packaged in 176-Pin Plastic Quad Flatpack
Table of Contents Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Signal Name/Terminal Number Sort Table . . . . . . . . . . . . . . . . . . 4 Terminal Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Introduction to the PCI2031 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 PCI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Bridge Configuration Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Extension Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recommended Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . Recommended Operating Conditions for PCI Interface . . . . . . . . Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Clock/Reset Timing Requirements . . . . . . . . . . . . . . . . . . . . . . PCI Timing Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Parameter Measurement Information . . . . . . . . . . . . . . . . . . . . . . . . PCI Bus Parameter Measurement Information . . . . . . . . . . . . . . . . Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 65 65 65 66 66 66 67 68 69
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
TI is a trademark of Texas Instruments Incorporated.
PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.
Copyright (c) 1998, Texas Instruments Incorporated
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
1
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
description
The TI PCI2031 PCI-to-PCI bridge provides a high-performance connection path between two peripheral component interconnect (PCI) buses. Transactions can occur between a master on one PCI bus and a target on another PCI bus. The bridge supports burst-mode transfers to maximize data throughput, and the two bus traffic paths through the bridge act independently. The PCI2031 bridge is compliant with the PCI Local Bus Specification 2.1, and can be used to overcome the electrical loading limit of ten devices per PCI bus by creating hierarchical buses. Furthermore, add-in cards requiring multiple PCI devices can use the bridge to overcome the electrical loading limit of one PCI device per slot. The PCI2031 bridge is also compliant with the PCI-to-PCI Bridge Specification 1.0, and implements many additional features that make it an ideal solution for bridging two PCI buses. It can be configured for subtractive decoding, and negative decoding can be disabled on the secondary interface. Two extension windows are also included for special decoding purposes. The serial- and parallel-port addresses can also be programmed for positive decoding on the primary interface. The bridge implements many other features, listed above, that add performance and flexibility. An advanced CMOS process is utilized to achieve low system-power consumption while operating at PCI clock rates up to 33 MHz.
system block diagram
Primary PCI Bus
IDE Controller
Video Controller
South Bridge
PCI2031 PCI-To-PCI Bridge
Secondary PCI Bus
Add-In Card
Add-In Card
2
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
terminal assignments
PGF PACKAGE (TOP VIEW)
S_GPIO0 S_FLSHREQ S_FLSHACK S_EXTARB V CC S_CLKRUN S_RST S_GNT5 S_GNT4 S_GNT3 S_GNT2 GND S_GNT1 S_GNT0 S_REQ5 S_VCCP S_REQ4 S_REQ3 V CC S_REQ2 S_REQ1 S_REQ0 S_AD31 S_AD30 S_AD29 GND S_AD28 S_AD27 S_AD26 GND S_AD25 S_AD24 V CC S_C/BE3 S_VCCP S_AD23 S_AD22 S_AD21 S_AD20 GND S_AD19 S_AD18 S_AD17 V CC S_GPIO1 S_GPIO2 S_GPIO3 GND S_PCLK0 S_PCLK1 VCC S_PCLK2 S_VCCP S_PCLK3 S_PCLK4 VCC S_PCLK5 GND RST_MODE P_CLKRUN P_VCCP P_RST GND P_PCLK VCC P_GNT P_REQ P_VCCP P_AD31 VCC P_AD30 P_AD29 GND P_AD28 P_AD27 P_AD26 GND P_AD25 P_AD24 P_C/BE3 GND P_IDSEL P_AD23 VCC P_AD22 P_VCCP P_AD21 P_AD20 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89
Secondary
PCI2031
Primary
88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45
S_AD16 S_C/BE2 GND S_FRAME VCC S_IRDY S_TRDY S_DEVSEL S_STOP S_VCCP S_LOCK GND S_PERR S_SERR S_PAR S_C/BE1 S_AD15 S_AD14 VCC S_AD13 S_AD12 S_AD11 VCC S_AD10 S_AD9 GND S_AD8 S_C/BE0 S_AD7 S_VCCP S_AD6 S_AD5 VCC S_AD4 S_AD3 GND S_AD2 S_AD1 S_AD0 GND P_GPIO0 P_GPIO1 P_GPIO2 P_GPIO3
P_AD19 P_AD18 P_AD17 P_AD16 GND P_C/BE2 P_FRAME P_IRDY P_TRDY P_DEVSEL P_STOP V CC P_LOCK P_V CCP P_PERR P_SERR P_PAR P_C/BE1 GND P_AD15 P_AD14 GND P_AD13 P_AD12 P_AD11 V CC P_AD10 P_V CCP P_AD9 GND P_AD8 P_C/BE0 GND P_AD7 P_AD6 V CC P_AD5 P_AD4 P_AD3 V CC P_AD2 P_V CCP P_AD1 P_AD0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
3
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 1. Signal Names Sorted by Terminal Number
NO. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 SIGNAL NAME P_AD19 P_AD18 P_AD17 P_AD16 GND P_C/BE2 P_FRAME P_IRDY P_TRDY P_DEVSEL P_STOP VCC P_LOCK P_VCCP P_PERR P_SERR P_PAR P_C/BE1 GND P_AD15 P_AD14 GND P_AD13 P_AD12 P_AD11 VCC P_AD10 P_VCCP P_AD9 GND P_AD8 P_C/BE0 GND P_AD7 P_AD6 VCC P_AD5 P_AD4 P_AD3 VCC P_AD2 P_VCCP P_AD1 P_AD00 NO. 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 SIGNAL NAME P_GPIO3 P_GPIO2 P_GPIO1 P_GPIO0 GND S_AD0 S_AD1 S_AD2 GND S_AD3 S_AD4 VCC S_AD5 S_AD6 S_VCCP S_AD7 S_C/BE0 S_AD8 GND S_AD9 S_AD10 VCC S_AD11 S_AD12 S_AD13 VCC S_AD14 S_AD15 S_C/BE1 S_PAR S_SERR S_PERR GND S_LOCK S_VCCP S_STOP S_DEVSEL S_TRDY S_IRDY VCC S_FRAME GND S_C/BE2 S_AD16 NO. 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 SIGNAL NAME VCC S_AD17 S_AD18 S_AD19 GND S_AD20 S_AD21 S_AD22 S_AD23 S_VCCP S_C/BE3 VCC S_AD24 S_AD25 GND S_AD26 S_AD27 S_AD28 GND S_AD29 S_AD30 S_AD31 S_REQ0 S_REQ1 S_REQ2 VCC S_REQ3 S_REQ4 S_VCCP S_REQ5 S_GNT0 S_GNT1 GND S_GNT2 S_GNT3 S_GNT4 S_GNT5 S_RST S_CLKRUN VCC S_EXTARB S_FLSHACK S_FLSHREQ S_GPIO0 NO. 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 SIGNAL NAME S_GPIO1 S_GPIO2 S_GPIO3 GND S_PCLK0 S_PCLK1 VCC S_PCLK2 S_VCCP S_PCLK3 S_PCLK4 VCC S_PCLK5 GND RST_MODE P_CLKRUN P_VCCP P_RST GND P_PCLK VCC P_GNT P_REQ P_VCCP P_AD31 VCC P_AD30 P_AD29 GND P_AD28 P_AD27 P_AD26 GND P_AD25 P_AD24 P_C/BE3 GND P_IDSEL P_AD23 VCC P_AD22 P_VCCP P_AD21 P_AD20
4
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Terminal Functions primary PCI system
TERMINAL NAME P_CLK NO. 152 I/O TYPE I FUNCTION Primary PCI bus clock. P_CLK provides timing for all transactions on the primary PCI bus. All primary PCI signals are sampled at rising edge of P_CLK. PCI reset. When the primary PCI bus reset is asserted, P_RST causes the bridge to 3-state all output buffers and reset all internal registers. When asserted, the device is completely nonfunctional. During P_RST, the secondary interface is driven low. After P_RST is deasserted, the bridge is in its default state.
P_RST
150
I
primary PCI address and data
TERMINAL NAME P_AD31 P_AD30 P_AD29 P_AD28 P_AD27 P_AD26 P_AD25 P_AD24 P_AD23 P_AD22 P_AD21 P_AD20 P_AD19 P_AD18 P_AD17 P_AD16 P_AD15 P_AD14 P_AD13 P_AD12 P_AD11 P_AD10 P_AD9 P_AD8 P_AD7 P_AD6 P_AD5 P_AD4 P_AD3 P_AD2 P_AD1 P_AD0 P_C/BE3 P_C/BE2 P_C/BE1 P_C/BE0 NO. 157 159 160 162 163 164 166 167 171 173 175 176 1 2 3 4 20 21 23 24 25 27 29 31 34 35 37 38 39 41 43 44 168 6 18 32 I/O TYPE FUNCTION
I/O
Primary address/data bus. These signals make up the multiplexed PCI address and data bus on the primary interface. During the address phase of a primary bus PCI cycle, P_AD31-P_AD0 contain a 32-bit address or other destination information. During the data phase, P_AD31-P_AD0 contain data.
I/O
Primary bus commands and byte enables. These signals are multiplexed on the same PCI terminals. During the address phase of a primary bus PCI cycle, P_C/BE3-P_C/BE0 define the bus command. During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths of the full 32-bit data bus carry meaningful data. P_C/BE0 applies to byte 0 (P_AD7-P_AD0), P_C/BE1 applies to byte 1 (P_AD15-P_AD8), P_C/BE2 applies to byte 2 (P_AD23-P_AD16), and P_C/BE3 applies to byte 3 (P_AD31-P_AD24). Primary PCI bus clock run. P_CLKRUN is used by the central resource to request permission to stop the PCI clock or to slow it down.
P_CLKRUN
148
I/O
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
5
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Terminal Functions (Continued) primary PCI interface control
TERMINAL NAME P_DEVSEL NO. 10 I/O TYPE I/O FUNCTION Primary device select. The bridge asserts P_DEVSEL to claim a PCI cycle as the target device. As a PCI initiator on the primary bus, the bridge monitors P_DEVSEL until a target responds. If no target responds before time-out occurs, then the bridge terminates the cycle with an initiator abort. Primary cycle frame. P_FRAME is driven by the initiator of a primary bus cycle. P_FRAME is asserted to indicate that a bus transaction is beginning, and data transfers continue while this signal is asserted. When P_FRAME is deasserted, the primary bus transaction is in the final data phase. Primary bus grant to bridge. P_GNT is driven by the primary PCI bus arbiter to grant the bridge access to the primary PCI bus after the current data transaction has completed. P_GNT may or may not follow a primary bus request, depending on the primary bus parking algorithm. Primary bus general-purpose I/O terminals. These terminals are provided for general input/output use in system design. Initialization device select. P_IDSEL selects the bridge during configuration space accesses. P_IDSEL can be connected to one of the upper 24 PCI address lines on the primary PCI bus. Note: There is no IDSEL signal interfacing the secondary PCI bus; thus, the entire configuration space of the bridge can only be accessed from the primary bus. Primary initiator ready. P_IRDY indicates the primary bus initiator's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of P_CLK where both P_IRDY and P_TRDY are asserted. Until P_IRDY and P_TRDY are both sampled asserted, wait states are inserted. Primary PCI bus lock. P_LOCK is used to lock the primary bus and gain exclusive access as an initiator. Primary parity. In all primary bus read and write cycles, the bridge calculates even parity across the P_AD and P_C/BE buses. As an initiator during PCI write cycles, the bridge outputs this parity indicator with a one-P_CLK delay. As a target during PCI read cycles, the calculated parity is compared to the initiator's parity indicator; a misdemeanor can result in a parity error assertion (P_PERR). Primary parity error indicator. P_PERR is driven by a primary bus PCI device to indicate that calculated parity does not match P_PAR when P_PERR is enabled through bit 6 of the command register. Primary PCI bus request. P_REQ is asserted by the bridge to request access to the primary PCI bus as an initiator. Primary system error. Output pulsed from the bridge when enabled through the command register indicating a system error has occurred. The bridge need not be the target of the primary PCI cycle to assert P_SERR. When bit 6 is enabled in the bridge control register, P_SERR pulses, indicating that a system error has occurred on one of the subordinate buses downstream from the bridge. Primary cycle stop signal. P_STOP is driven by a PCI target to request the initiator to stop the current primary bus transaction. P_STOP is used for target disconnects and is commonly asserted by target devices that do not support burst data transfers. If RST_MODE is asserted during P_RST, it causes S_RST to be asserted and the secondary clocks to be turned off. Primary target ready. P_TRDY indicates the primary bus target's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of P_CLK where both P_IRDY and P_TRDY are asserted. Until both P_IRDY and P_TRDY are asserted, wait states are inserted.
P_FRAME
7
I/O
P_GNT P_GPIO0 P_GPIO1 P_GPIO2 P_GPIO3
154 48 47 46 45
I
I/O
P_IDSEL
170
I
P_IRDY P_LOCK
8 13
I/O I/O
P_PAR
17
I/O
P_PERR P_REQ
15 155
I/O O
P_SERR
16
O
P_STOP
11
I/O
RST_MODE
147
I
P_TRDY
9
I/O
6
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Terminal Functions (Continued) secondary PCI system
TERMINAL NAME S_PCLK5 S_PCLK4 S_PCLK3 S_PCLK2 S_PCLK1 S_PCLK0 S_CLKRUN NO. 145 143 142 140 138 137 127 I/O TYPE FUNCTION
O
Secondary PCI bus clock. Provides timing for all transactions on the secondary PCI bus. All secondary PCI signals are sampled at the rising edge of S_CLK5-S_CLK0.
I/O
Secondary PCI bus clock run. S_CLKRUN is output by the bridge to indicate that S_PCLKn is to be stopped. S_CLKRUN is driven by secondary bus PCI devices to request that S_PCLKn be stopped. Secondary external arbiter enable. When S_EXTARB is asserted, the secondary external arbiter is enabled. When the external arbiter is enabled, S_REQ0 is reconfigured as a secondary bus grant input to the bridge and S_GNT0 is reconfigured as a secondary bus master request to the external arbiter on the secondary bus. Secondary PCI reset. S_RST is a logical OR of P_RST and the state of the secondary bus reset bit of the bridge control register. S_RST is asynchronous with respect to the state of the secondary interface CLK signal.
S_EXTARB
129
I
S_RST
126
O
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
7
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Terminal Functions (Continued) secondary PCI address and data
TERMINAL NAME S_AD31 S_AD30 S_AD29 S_AD28 S_AD27 S_AD26 S_AD25 S_AD24 S_AD23 S_AD22 S_AD21 S_AD20 S_AD19 S_AD18 S_AD17 S_AD16 S_AD15 S_AD14 S_AD13 S_AD12 S_AD11 S_AD10 S_AD9 S_AD8 S_AD7 S_AD6 S_AD5 S_AD4 S_AD3 S_AD2 S_AD1 S_AD0 S_C/BE3 S_C/BE2 S_C/BE1 S_C/BE0 NO. 110 109 108 106 105 104 102 101 97 96 95 94 92 91 90 88 72 71 69 68 67 65 64 62 60 58 57 55 54 52 51 50 99 87 73 61 I/O TYPE FUNCTION
I/O
Secondary address/data bus. These signals make up the multiplexed PCI address and data bus on the secondary interface. During the address phase of a secondary bus PCI cycle, S_AD31-S_AD0 contain a 32-bit address or other destination information. During the data phase, S_AD31-S_AD0 contain data.
I/O
Secondary bus commands and byte enables. These signals are multiplexed on the same PCI terminals. During the address phase of a secondary bus PCI cycle, S_C/BE3-S_C/BE0 define the bus command. During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which byte paths of the full 32-bit data bus carry meaningful data. S_C/BE0 applies to byte 0 (S_AD7-S_AD0), S_C/BE1 applies to byte 1 (S_AD15-S_AD8), S_C/BE2 applies to byte 2 (S_AD23-S_AD16), and S_C/BE3 applies to byte 3 (S_AD31-S_AD24). Secondary device select. The bridge asserts S_DEVSEL to claim a PCI cycle as the target device. As a PCI initiator on the secondary bus, the bridge monitors S_DEVSEL until a target responds. If no target responds before timeout occurs, then the bridge terminates the cycle with an initiator abort. Secondary cycle frame. S_FRAME is driven by the initiator of a secondary bus cycle. S_FRAME is asserted to indicate that a bus transaction is beginning and data transfers continue while S_FRAME is asserted. When S_FRAME is deasserted, the secondary bus transaction is in the final data phase. Secondary bus grant to the bridge. The bridge provides internal arbitration and these signals are used to grant potential secondary PCI bus masters access to the bus. Seven potential initiators (including the bridge) can be located on the secondary PCI bus. When the internal arbiter is disabled, S_GNT0 is reconfigured as an external secondary bus request signal for the bridge.
S_DEVSEL
81
I/O
S_FRAME S_GNT5 S_GNT4 S_GNT3 S_GNT2 S_GNT1 S_GNT0
85 125 124 123 122 120 119
I/O
O
8
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Terminal Functions (Continued) secondary PCI interface control
TERMINAL NAME S_GPIO0 S_GPIO1 S_GPIO2 S_GPIO3 S_IRDY S_LOCK NO. 132 133 134 135 83 78 I/O TYPE FUNCTION
I/O
Secondary general-purpose I/O terminals. These terminals are provided for general-purpose input/output use in system design. Secondary initiator ready. S_IRDY indicates the secondary bus initiator's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of S_PCLKn where both S_IRDY and S_TRDY are asserted; until S_IRDY and S_TRDY are asserted, wait states are inserted. Secondary lock S_LOCK is used to lock the secondary bus and gain exclusive access as an initiator. Secondary parity. In all secondary bus read and write cycles, the bridge calculates even parity across the S_AD and S_C/BE buses. As an initiator during PCI write cycles, the bridge outputs this parity indicator with a one-S_PCLKn delay. As a target during PCI read cycles, the calculated parity is compared to the initiator's parity indicator. A miscompare can result in a parity error assertion (S_PERR). Secondary parity error indicator. S_PERR is driven by a secondary bus PCI device to indicate that calculated parity does not match S_PAR when enabled through the command register.
I/O I/O
S_PAR
74
I/O
S_PERR S_REQ5 S_REQ4 S_REQ3 S_REQ2 S_REQ1 S_REQ0 S_REQ0 S_SERR
76 118 116 115 113 112 111 111 75
I/O
I
Secondary PCI bus request signals. The bridge provides internal arbitration, and these signals are used as inputs from secondary PCI bus initiators requesting the bus. Seven potential initiators (including the bridge) can be located on the secondary PCI bus.
When the internal arbiter is disabled, S_REQ0 is reconfigured as an external secondary bus grant for the bridge. I Secondary system error. S_SERR is passed through the primary interface by the bridge if enabled through the bridge control register. S_SERR is never asserted by the bridge. Secondary cycle stop signal. S_STOP is driven by a PCI target to request the initiator to stop the current secondary bus transaction. S_STOP is used for target disconnects and is commonly asserted by target devices that do not support burst data transfers. Secondary target ready. S_TRDY indicates the secondary bus target's ability to complete the current data phase of the transaction. A data phase is completed on a rising edge of S_PCLKn where both S_IRDY and S_TRDY are asserted; until S_IRDY and S_TRDY are asserted, wait states are inserted. Flush request. When S_FLSHREQ is asserted, it signals a request to the PCI2031 to suspend internal write posting. When the bridge is ready to suspend internal write posting, it responds by asserting S_FLSHACK. S_FLSHACK remains asserted until the write posting buffers are empty. Flush acknowledge. S_FLSHACK is asserted by the PCI2031 to indicate that the internal write posting is suspended. S_FLSHACK remains asserted until the write posting buffers are empty.
S_STOP
80
I/O
S_TRDY
82
I/O
S_FLSHREQ
131
I
S_FLSHACK
130
O
power supply
TERMINAL NAME GND VCC P_VCCP S_VCCP NO. 5, 19, 22, 30, 33, 49, 53, 63, 77, 86, 93, 103, 107, 121, 136, 146, 151, 161, 165, 169 12, 26, 36, 40, 56, 66, 70, 84, 89, 100, 114, 128, 139, 144, 153, 158, 172 14, 28, 42, 149, 156, 174 59, 79, 98, 117, 141 Device ground terminals Power-supply terminal for core logic (3.3 V) Primary bus-signaling environment supply. P_VCCP is used in protection circuitry on primary bus I/O signals. Secondary bus-signaling environment supply. S_VCCP is used in protection circuitry on primary bus I/O signals. FUNCTION
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
9
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
architecture
This section provides an overview of the PCI2031 PCI-to-PCI bridge features and functionality. Detailed descriptions of the bridge's internal registers and extension registers are also provided.
introduction to the PCI2031
The PCI2031 is a bridge between two PCI buses, and is compliant with both the PCI Local Bus Specification 2.1 and the PCI-to-PCI Bridge Specification 1.0. The bridge supports two 32-bit PCI buses operating at a maximum of 33 MHz. The primary and secondary buses operate independently in either a 3.3-V or 5-V signaling environment. The core logic of the bridge, however, is powered at 3.3 V to reduce power consumption. Host software interacts with the bridge through internal registers. These internal registers provide the standard PCI status and control for both the primary and secondary buses. There are many vendor-specific features included in the bridge that exist in the TI extension register set. The PCI configuration header of the bridge is only accessible from the primary PCI interface. The bridge provides internal arbitration for the six possible secondary bus masters, and provides each with a dedicated active low request/grant pair (REQ/GNT). The arbiter features a two-tier rotational scheme with the PCI2031 bridge defaulting to the highest priority tier. The bus parking scheme is also configurable and can be set to either park grant (GNT) on the bridge or on the last mastering device. Upon system power up, power-on self-test (POST) software configures the bridge according to the devices that exist on subordinate buses, and enables performance-enhancing features of the PCI2031. In a typical system, this is the only communication with the bridge's internal register set. serial EEPROM interface The PCI2031 uses a serial EEPROM interface for loading the bridge's subsystem vendor ID register and subsystem ID register from an EEPROM after a reset on the primary bus. This interface also loads the slot number register, the device mask register, and the device-type register after a primary reset. The PCI2031 can trap accesses to the subsystem vendor ID register and subsystem ID register of devices sitting on its secondary bus, based on the settings of these two registers. While the EEPROM is loading data into the PCI2031 subsystem vendor ID register and slot number register, all configuration read accesses to these registers are retried. All configuration reads to registers 2Ch and 40h of devices (0-7) behind the bridge are also retried. The interface uses general-purpose I/O terminals S_GPIO0 for the clock and S_GPIO1 for data. The device-type register represents up to six devices on the secondary bus of the PCI2031. Each bit in this register corresponds to one device. During the address phase of a type 1 configuration cycle, if the value of bit 0 of the device-type register is 1, it implies that the device corresponding to device number 00000 (see bits AD15-AD11 in Figure 2 on page 13) is a CardBus controller. If the value of bit 0 is 0, it indicates that the device is a standard PCI device. Bit 1 in the device-type register corresponds to device number 00001, bit 2 corresponds to device number 00010, bit 3 corresponds to device number 00011, and so on. The device-type and device mask registers control configuration read accesses to a device's subsystem vendor ID register. See device mask register and device-type register.
10
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
The PCI2031 reads data from the serial EEPROM starting at address 00000000. The slave address of the serial EEPROM must be at 10100000 for the PCI2031 to see it. The PCI2031 then reads seven bytes of data from the EEPROM. The PCI2031 reads the data in the following order: 1. High byte of the subsystem ID 2. Low byte of the subsystem ID 3. High byte of the subsystem vendor ID. 4. Low byte of the subsystem vendor ID 5. Device mask 6. Device type 7. Slot number The only register that is not programmed in the serial EEPROM is the chassis number register.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
11
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
PCI commands The bridge responds as a PCI target device to PCI bus cycles based on the decoding of each address phase and internal register settings. Table 2 lists the valid PCI bus cycles and their encoding on the command/byte enables (C/BE) bus during the address phase of a bus cycle. Table 2. PCI Command Definition
C/BE3-C/BE0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 COMMAND Interrupt acknowledge Special cycle I/O read I/O write Reserved Reserved Memory read Memory write Reserved Reserved Configuration read Configuration write Memory read multiple Dual address cycle Memory read line Memory write and invalidate
The bridge never responds as a PCI target to the interrupt acknowledge, special cycle, dual address cycle, or reserved commands. The bridge does, however, initiate special cycles on both interfaces when a type 1 configuration cycle issues the special cycle request. The remaining PCI commands address either memory, I/O, or configuration space. The bridge accepts PCI cycles by asserting DEVSEL as a medium-speed device, i.e., DEVSEL is asserted two clock cycles after the address phase. configuration cycles PCI Local Bus Specification 2.1 defines two types of PCI configuration read and write cycles: type 0 and type 1. The bridge decodes each type differently. Type 0 configuration cycles are intended for devices on the primary bus, while type 1 configuration cycles are intended for devices at some hierarchically subordinate bus. The difference between these two types of cycles is the encoding of the primary PCI (P_AD) bus during the address phase of the cycle. The P_AD bus encoding during the address phase of a type 0 configuration cycle is shown in Figure 1. The 6-bit register number field represents an 8-bit address with the two lower bits masked to 0, indicating a double-word boundary. This results in a 256-byte configuration address space per function per device. Individual byte accesses may be selected within a word by using the P_C/BE signals during the data phase of the cycle.
31 Reserved 11 10 Function number 8 7 Register number 2 1 0 0 0
Figure 1. PCI AD31-AD0 During Address Phase of a Type 0 Configuration Cycle
12
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
configuration cycles (continued) The bridge claims only type 0 configuration cycles when its P_IDSEL terminal is asserted during the address phase of the cycle and the PCI function number encoded in the cycle is 0. If the function number is 1 or greater, the bridge does not recognize the configuration command. In this case, the bridge does not assert DEVSEL and the configuration transaction results in a master abort. The bridge services valid type 0 configuration read or write cycles by accessing internal registers from the configuration header (see Table 3). Because type 1 configuration cycles are issued to devices on subordinate buses, the bridge claims type 1 cycles based on the bus number of the destination bus. The P_AD bus encoding during the address phase of a type 1 cycle is shown in Figure 2. The device number and bus number fields define the destination bus and device for the cycle.
31 Reserved 24 23 Bus number 16 15 Device number 11 10 Function number 8 7 Register number 2 1 0 0 1
Figure 2. PCI AD31-AD0 During Address Phase of a Type 1 Configuration Cycle Several bridge configuration registers shown in Table 3 are significant when decoding and claiming type 1 configuration cycles. The destination bus number encoded on the P_AD bus is compared to the values programmed in the bridge configuration registers 18h, 19h, and 1Ah, which are the primary bus number, secondary bus number, and subordinate bus number registers, respectively. These registers default to 00h and are programmed by host software to reflect the bus hierarchy in the system (seeFigure 3 for an example of a system bus hierarchy and how the PCI2031 bus number registers would be programmed in this case).
PCI Bus 0
PCI2031 Primary Bus Secondary Bus Subordinate Bus 00h 01h 02h
PCI2031 Primary Bus Secondary Bus Subordinate Bus 00h 03h 03h
PCI Bus 1
PCI Bus 3
PCI2031 Primary Bus Secondary Bus Subordinate Bus 01h 02h 02h
PCI Bus 2
Figure 3. Bus Hierarchy and Numbering
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
13
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
special cycle generation
The bridge is designed to generate special cycles on both buses through a type 1 cycle conversion. During a type 1 configuration cycle, if the bus number field matches the bridge's secondary bus number, the device number field is 1Fh, and the function number field is 07h, the bridge generates a special cycle on the secondary bus with a message that matches the type 1 configuration cycle data. If the bus number is a subordinate bus and not the secondary, then the bridge passes the type 1 special cycle request through to the secondary interface along with the proper message. Special cycles are never passed through the bridge. Type 1 configuration cycles with a special cycle request can propagate in both directions. PCI Local Bus Specification 2.1 compliance The most significant additions to the PCI Local Bus Specification 2.1 are the latency requirements placed on PCI peripherals. Minimum response times are specified for a PCI device to respond with valid data. These requirements are intended to improve throughput and reduce latencies on the PCI bus. The PCI2031 bridge is fully compliant with these guidelines. Other additions to revision 2.1 of the PCI specification include the subsystem ID and subsystem vendor ID registers in the PCI configuration header. The PCI2031 bridge includes these features, as well. PCI clock run feature The PCI2031 supports the PCI clock run protocol as defined in the PCI Mobile Design Guide, Revision 1.0. When the system's central resource signals to the system that it wants to stop the PCI clock (PCLK) by driving the primary clock run (P_CLKRUN) signal high, the bridge either signals that it is OK to stop the PCI clock by leaving P_CLKRUN deasserted (high), or signals to the system to keep the clock running by driving P_CLKRUN low. The PCI2031 clock run control register provides a clock run enable bit for the primary bus and a separate clock run enable bit for the secondary bus. The bridge's P_CLKRUN and secondary clock run (S_CLKRUN) feature are enabled by setting bits 3 and 1, respectively, in the clock run control register. Bit 2 of the clock run control register allows software to enable the bridge's keep clock running mode to prevent the system from stopping the PCI clock. There are two conditions for restarting the secondary clock: a downstream transaction restarts the secondary clock; on the secondary, if S_CLKRUN is asserted, the secondary clock is restarted. There are two clock run modes supported on the secondary bus. The bridge can be configured to stop the secondary PCI clock only in response to a request from the primary bus to stop the clock, or it can be configured to stop the secondary clock whenever the secondary bus is idle and there are no transaction requests from the primary bus, regardless of the primary clock (see clock run control register). bus arbitration The PCI2031 implements bus request (P_REQ) and bus grant (P_GNT) terminals for primary PCI bus arbitration. Six secondary bus requests and six secondary bus grants are provided on the secondary of the PCI2031. Seven potential initiators, including the bridge, can be located on the secondary bus. The PCI2031 provides a two-tier arbitration scheme on the secondary bus for priority bus-master handling. The two-tier arbitration scheme improves performance in systems in which master devices do not all require the same bandwidth. Any master that requires frequent use of the bus can be programmed to be in the higher priority tier.
primary bus arbitration
The PCI2031, acting as an initiator on the primary bus, asserts P_REQ when forwarding transactions upstream to the primary bus. In the upstream direction, as long as a posted write data or a delayed transaction request is in the queue, the PCI2031 keeps P_REQ asserted. If a target disconnect, a target retry, or a target abort is received in response to a transaction initiated on the primary bus by the PCI2031, the device deasserts P_REQ for two PCI clock cycles.
14
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
primary bus arbitration (continued)
When the primary bus arbiter asserts P_GNT in response to a P_REQ from the PCI2031, the device initiates a transaction on the primary bus during the next PCI clock cycle. When P_REQ is not asserted and the primary bus arbiter asserts P_GNT to the PCI2031, the device responds by parking the P_AD31-P_AD0 bus, the C/BE3-C/BE0 bus, and primary parity (P_PAR) by driving them to valid logic levels. If the PCI2031 is parking the primary bus and wants to initiate a transaction on the primary, it can start the transaction on the next PCI clock by asserting the primary cycle frame (P_FRAME) while P_GNT is still asserted. If P_GNT is deasserted, the bridge must rearbitrate for the bus to initiate a transaction.
internal secondary bus arbitration
Bit 6 of the secondary clock/arbiter disable register at configuration offset 6Ch controls the state of the internal secondary arbiter. By default, the PCI2031 internal secondary bus arbiter is enabled (bit 6 is 0). The internal arbiter can be disabled by setting bit 6 to 1. The PCI2031 provides six secondary bus request terminals and six secondary bus grant terminals. Including the bridge itself, there are a total of seven potential secondary bus masters. These request and grant signals are connected to the internal arbiter. When an external arbiter is implemented, S_REQ5-S_REQ1 and S_GNT5-S_GNT1 are 3-stated.
external secondary bus arbitration
An external secondary bus arbiter can be used instead of the PCI2031 internal bus arbiter. When using an external arbiter, the PCI2031 internal arbiter should be disabled either by using the secondary external arbiter enable (S_EXTARB) input, or by setting bit 6 of the secondary clock/arbiter disable register (at offset 6Ch) to 1. When an external secondary bus arbiter is used, the PCI2031 internally reconfigures the S_REQ0 and S_GNT0 signals so that S_REQ0 becomes the secondary bus master grant for the bridge and S_GNT0 becomes the secondary bus master request for the PCI2031. This is done because S_REQ0 is an input and can thus be used to provide the grant input to the bridge, and S_GNT0 is an output and can thus provide the request output from the bridge. When an external arbiter is used, all unused secondary bus grant outputs (S_GNT5-S_GNT1) are 3-stated. Any unused secondary bus request inputs (S_REQ5-S_REQ1) should be pulled high to prevent the inputs from oscillating. decode options The PCI2031 supports positive, subtractive, and negative decoding. Positive decoding is a method of address decoding in which a device responds only to accesses within an assigned address range. Negative decoding is a method of address decoding in which a device responds only to accesses outside of an assigned address range. Subtractive decoding is a method of address decoding in which a device responds to accesses not claimed by any other devices on the bus. Subtractive decoding can be enabled on the primary bus or the secondary bus.
extension windows with programmable decoding
The PCI2031 provides two programmable 32-bit extension windows. Each window can be programmed to be a prefetchable memory window, a nonprefetchable memory window, or an I/O window. The TI extension memory windows have a 4K-byte granularity, and the I/O windows have a double-word granularity. These extension windows can be positively decoded either on the primary bus or on the secondary bus. The standard PCI-to-PCI bridge memory and I/O windows specified by the PCI-to-PCI Bridge Specification 1.0 have a 1M-byte and 4K-byte granularity, respectively (see memory base register and I/O base register). The TI extension windows provide smaller granularity for memory and I/O windows. The extension windows' granularity matches the requirements of CardBus card windows, which also have 4K-byte granularity for memory windows and double-word granularity for I/O windows. When a CardBus I/O card is sitting behind the bridge, the smaller double-word I/O window granularity with the extension windows allows a smaller I/O window than the 4K-byte window with the standard I/O base and limit registers.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
15
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
extension windows with programmable decoding (continued)
A common I/O base address for popular sound cards is 300h-303h. Using the TI extension windows and configuring the base I/O address for 300h establishes a 4-byte I/O address window from 300h-303h for communicating with the sound card. Using the bridge's standard I/O base register requires a minimum 4K-byte window of memory. The extension windows can be excluded from the primary bus decoding, thus creating a hole in a primary window address range. system error handling The PCI2031 can be configured to signal a system error (SERR) for a variety of conditions. The SERR control and status registers, configuration offset 60h and 61h, respectively, provide individual SERR control/status bits for each condition for which the bridge can signal SERR. These individual bits enable SERR reporting for both downstream and upstream transactions. With the exception of the master retry timeout and address parity errors, SERR is signaled on the primary bus for the following conditions, only if the corresponding bit in the SERR control register is set and the SERR enable bit in the command register (configuration offset 04h, bit 8) is set. The system error signal (bit 14) in the primary status register is set whenever the PCI2031 signals SERR. Whenever the PCI2031 signals SERR on the primary bus, bit 14 in its status register gets set. Whenever the PCI2031 detects SERR on the secondary bus, bit 14 in the secondary status register gets set (see status register and secondary status register).
arbiter timeout
If a master on the secondary bus does not start a transaction within 16 clock cycles after receiving the bus grant, the arbiter times out and generates SERR. When the bridge signals SERR due to an arbiter timeout, bit 0 of the SERR status register is set. This bit can be cleared by writing a 1.
parity error on posted writes
If bit 1 in the SERR control register is set, parity errors on the target bus can be passed back to the initiator bus as SERRs, only if the error is not detected by the bridge. For example, if the bridge accepts a posted write transaction and does not detect a parity error, but the target of the posted write does detect bad parity and asserts PERR on the target bus, the bridge passes the parity error (PERR) back to the initiator side as SERR. When this occurs, bit 1 of the SERR status register gets set. The status bit is cleared by writing a 1.
target abort on posted writes
If bit 2 of the SERR control register is set and the bridge gets a target abort during a posted write transaction, it signals SERR on the initiator bus. As a result, bit 2 of the SERR status register gets set. The status bit is cleared by writing a 1.
master abort on posted writes
If bit 3 of the SERR control register is set and a posted write transaction results in a master abort, the bridge signals SERR on the initiator bus. As a result, bit 3 of the SERR status register gets set. The status bit is cleared by writing a 1.
discard timeout on nonprefetchable reads
If bit 4 of the SERR control register is set and the bridge discard timer expires during a nonprefetchable read transaction, the bridge signals SERR. As a result, bit 4 of the SERR status register gets set. The status bit is cleared by writing a 1.
16
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
data parity errors when the PCI2031 is mastering
If bit 5 of the SERR control register is set, the PCI2031 signals SERR when it detects a parity error while it is mastering the bus. As a result, bit 5 of the SERR status register gets set. The status bit is cleared by writing a 1. This bit should be enabled only when the bridge is configured for fixing parity.
address parity errors
If the parity error response bit (bit 6) of the command register is set, the PCI2031 signals SERR on address parity errors and target abort. As a result, bit 6 of the SERR status register gets set. The status bit is cleared by writing a 1. There is no separate control bit in the SERR control register for reporting this error.
master retry timeout
If the PCI2031 is configured for master retry timeout (bit 15 in the diagnostic register is 1), the PCI2031 signals SERR when it is mastering the bus and the master retry timer times out. As a result, bit 7 of the SERR status register gets set. The status bit is cleared by writing a 1. There is no separate control bit in the SERR control register for reporting this error.
secondary SERR
The PCI2031 passes SERR from the secondary bus to the primary bus if it is enabled for SERR response (bit 8 in the command register is 1), and bit 1 in the bridge control register (configuration offset 03eh) is set. parity handling and parity error reporting The PCI2031 can be configured to pass parity or provide parity via bit 14 of the diagnostic register. When this bit is cleared to 0, the bridge is enabled for passing parity errors. Parity error passing is the default mode in the bridge. Parity error passing is recommended only if devices in the system are capable of error recovery. The following parity conditions result in the bridge signaling an error.
address parity error
If the parity error response bit (bit 6) in the command register is set, the PCI2031 signals SERR on address parity errors and target abort transactions. As a result, bit 6 in the SERR status register is set. The status bit is cleared by writing a 1.
data parity error
If the parity error response bit (bit 6) in the command register is set, the PCI2031 signals PERR when it receives bad data. When the bridge detects bad parity, bit 15 (detected parity error) in the PCI status register is set. If the bridge is configured to respond to parity errors via bit 6 in the command register, the data parity error detected bit (bit 8 in the status register) is set when the bridge detects bad parity. The data parity error detected bit is also set when the bridge, as a bus master, asserts PERR or detects PERR. master and target abort handling If the PCI2031 receives a target abort during a write burst, it signals target abort back on the initiator bus. If it receives a target abort during a read burst, it provides all of the valid data on the initiator bus and disconnects. Target aborts for posted and nonposted transactions are reported as specified in the PCI-to-PCI Bridge Specification 1.0. Master aborts for posted and nonposted transactions are reported as specified in the PCI-to-PCI Bridge Specification 1.0. If a transaction is attempted on the primary bus after a secondary reset is asserted, the PCI2031 follows the master abort mode bit setting (bit 5 in the bridge control register) for reporting errors.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
17
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
serialized interrupts The PCI2031 supports serialized IRQs for systems that support the serialized interrupt standard defined in the Serialized IRQ Support for PCI Systems Specification 6.0. This specification defines IRQ support for two PCI-to-PCI bridges connected serially. The specification states that PCI-to-PCI bridges must buffer the serialized IRQ stream from the secondary PCI bus to the primary PCI bus. The PCI2031 serializer provides the required buffering. Bit 0 of the Serialized IRQ Support register (configuration offset 79h) must be set to enable serialized IRQ support. This register also controls the number of start pulses and the number of data frames. The PCI2031 can be programmed to provide a start pulse of 4 clocks or 6 clocks and the number of IRQ/data frames is programmable from 17 to 32. The PCI2031 buffers IRQ data upstream and IRQ stop pulses downstream. In continuous mode, the PCI2031 initiates and completes a start on the secondary side when a start is initiated on the primary side. In quiet mode, the PCI2031 completes a start initiated by an IRQSER device on its secondary side and also initiates a start on the primary side. After a power up or reset in a two-bridge system, both bridges must have IRQ support enabled (bit 0 of the Serialized IRQ Support register) before any data streams are initiated by the host controller. The serialized IRQ implementation uses the P_GPIO1 general purpose I/O pin for the primary IRQSER signaling and the S-GPIO2 general purpose I/O pin for the secondary IRQSER signaling. discard timer The PCI2031 is free to discard the data or status of a delayed transaction that was completed with a delayed transaction termination when a bus master has not repeated the request within 210 or 215 PCI clocks (approximately 30 s and 993 s, respectively). PCI Local Bus Specification 2.1 recommends that a bridge wait 215 PCI clocks before discarding the transaction data or status. The PCI2031 implements a discard timer for use in delayed transactions. After a delayed transaction is completed on the destination bus, the bridge may discard it under two conditions. The first condition occurs when a read transaction is made to a region of memory that the bridge knows is prefetchable, or the command is a memory read line or a memory read multiple, implying that the memory region is prefetchable. The other condition occurs when the master originating the transaction (either a read or a write, prefetchable or nonprefetchable) has not retried the transaction within 210 or 215 clocks. The number of clocks is tracked by a timer referred to as the discard timer. When the discard timer expires, the bridge is required to discard the data. The PCI2031 default value for the discard timer is 215 clocks; however, this value can be set to 210 clocks by clearing bit 1 in the diagnostic register (configuration offset 70h-71h). For more information on the discard timer, see error conditions in PCI Local Bus Specification 2.1. delayed transactions The bridge supports delayed transactions as defined in PCI Local Bus Specification 2.1. A target must be able to complete the initial data phase in 16 PCI clocks or less from the assertion of the cycle frame (FRAME), and subsequent data phases must complete in eight PCI clocks or less. A delayed transaction consists of three phases:
D D D
An initiator device issues a request. The target completes the request on the destination bus and signals the completion to the initiator. The initiator completes the request on the originating bus.
18
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
delayed transactions (continued) If the bridge is the target of a PCI transaction and it must access a slow device to write or read the requested data, and the transaction takes longer than 16 clocks, the bridge must latch the address, the command, and the byte enables, then issue a retry to the initiator. The initiator must end the transaction without any transfer of data and is required to retry the transaction later using the same address, command, and byte enables. This is the first phase of the delayed transaction. During the second phase, if the transaction is a read cycle, the bridge fetches the requested data on the destination bus, stores it internally, and obtains the completion status, thus completing the transaction on the destination bus. If it is a write transaction, the bridge writes the data and obtains the completion status, thus completing the transaction on the destination bus. The bridge stores the completion status until the master on the initiating bus retries the initial request. During the third phase, the initiator rearbitrates for the bus. When the bridge sees the initiator retry the transaction, it compares the second request to the first request. If the address, command, and byte enables match the values latched in the first request, the completion status (and data if the request was a read) is transferred to the initiator. At this point, the delayed transaction is complete. If the second request from the initiator does not match the first request exactly, the bridge issues another retry to the initiator. When bit 2 of the diagnostic register is 0, the PCI2031 is configured for immediate retry mode. In immediate retry mode, the bridge issues a retry immediately, instead of after 16 clocks, on delayed transactions. flush request/flush acknowledge The bridge implements two active-low signals on the secondary interface for write-posting buffer control. These signals are secondary flush request (S_FLSHREQ) and secondary flush acknowledge (S_FLSHACK). S_FLSHREQ is an input to the secondary interface of the bridge to request that internal write posting, in both directions, be disabled. When the bridge detects S_FLSHREQ is asserted, it responds with an S_FLSHACK acknowledgment. S_FLSHACK remains asserted (low) until the write-posting buffers are empty. general-purpose input/output terminals The PCI2031 provides four primary and four secondary general-purpose input/output (I/O) terminals for design flexibility. The general-purpose I/O terminals can be used for turning LEDs and other components on and off, and switching power on and off for different planes in the system and other similar uses. For example:
D D D D
P_GPIO0 can be configured as an output and used as an interrupt request from the PCI2031 when docking support is enabled. P_GPIO2 and P_GPIO3 can be configured as input pins and used as docking station support detect pins 1 and 2, respectively. S_GPIO0 and S_GPIO1 are used for the serial EEPROM interface between the EEPROM and the PCI2031. S_GPIO0 serves as the clock line and S_GPIO1 serves as the data line. P_GPIO1 and S_GPIO2 can be used as primary and secondary bus IRQSER pins, respectively.
slot numbers and chassis numbers The PCI2031 contains two registers, slot number and chassis number, which help in identifying the physical location of various controller devices in a server-based system. In a desktop computer, there are typically just a few PCI expansion slots. These slots usually host a graphics controller, disk drive controller, and a network controller. Generally, there is no duplication of functionality among the devices. It is relatively easy to connect the appropriate cables to the devices and to configure this type of system during power on.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
19
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
slot numbers and chassis numbers (continued) In a network server system, where the server might have multiple connections to several storage subsystems and LAN segments, identifying a particular device in the network can be difficult. A server might contain several PCI expansion slots, some of which contain multiple controllers. In this case, it is more difficult to identify a particular chassis and slot within the chassis that contains a specific controller. In such a server system, if a controller fails, software must have a way to determine which device failed and communicate this to the system administrator so it can be replaced. At power on, the system configuration software assigns each subsystem cabinet a chassis number. The network controllers (e.g., a PCI Ethernet controller) are also identified by slot number. The host server is assigned chassis 0. The chassis number register in the PCI2031 contains an 8-bit number that designates the chassis number in which the slots on its secondary bus reside. Multiple PCI buses in the same chassis are assigned the same number. For more information, refer to the chapter "Where Do I Plug the Cable?" in the PCI Spring Developers' Conference and Expo Conference Proceedings published by Annabooks, ISBN 0-929392-34-5.
PCI power management
The PCI power management specification establishes the infrastructure required to let the operating system control the power of PCI functions. This is done by defining a standard PCI interface and operations to manage the power of PCI functions on the bus. The PCI bus and the PCI functions can be assigned one of four software visible power management states, which result in varying levels of power savings. The four power management states of PCI functions are D0 "Fully on" state, D1, D2 "intermediate states" and D3 "Off" state. Similarly, bus power states of the PCI bus are B0-B3. The Bus power states B0-B3 are derived from the device power state of the originating PCI2031 device. For the operating system to power manage the device power states on the PCI bus, the PCI function supports four power management operations:
D D D D
Capabilities reporting Power status reporting Setting the power state System wake-up
The operating system identifies the capabilities of the PCI function by traversing the new capabilities list. The presence of new capabilities is indicated by a bit in the PCI status register and by providing a access to a capabilities list. behavior in low power states The PCI2031 supports D0, D1, D2, D3 cold, and D3 hot power states. The PCI2031 is fully functional only in D0 state. In the lower power states, the bridge does not accept any memory or I/O transactions. These transactions are aborted by the master. The bridge accepts Type 0 configuration cycles in all power states except D3 cold. The bridge also accepts Type 1 configuration cycles but does not pass these cycles to the secondary bus in any of the lower power states. Type 1 configuration writes are discarded and reads return all 1's. All error reporting is done in the low power states. When in D2 and D3 hot states, the bridge turns off all secondary clocks for further power savings. When going from D3 hot to D0, an internal reset is generated. This reset initializes all PCI configuration registers to their default values. All TI specific registers (40h - FFh) are not reset. Power Management registers are also not reset.
20
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
typical applications
Figure 4 shows two typical applications for the PCI2031 PCI-to-PCI bridge. A system that requires more than ten PCI loads requires a PCI-to-PCI bridge to overcome the electrical loading limits laid out in the PCI Local Bus Specification 2.1. Since option card slots require two loads each, bridging is necessary on large and expandable systems. Furthermore, option cards using more than one PCI device require a PCI-to-PCI bridge to limit the load to the option slot.
CPU
Host Bus
Memory
Host Bridge PCI Bus 0
PCI Device
PCI Device
PCI Option Card PCI2031 PCI Bus 2 PCI Bus 1 PCI2031 PCI Device PCI Device (Option) PCI Option Card
PCI Option Slot
Figure 4. Typical Bridge Application
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
21
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
bridge configuration header
The PCI2031 bridge is a single-function PCI device. The configuration header is in compliance with the PCI-to-PCI Bridge Architecture Specification 1.0, April 5, 1994. Table 3 shows the PCI configuration header, which includes the predefined portion of the bridge's configuration space. The PCI configuration offset is shown in the right column under the OFFSET heading. Table 3. Bridge Configuration Header
REGISTER NAME Device ID Status Class code BIST Header type Latency timer Base address 0 Base address 1 Secondary bus latency timer Subordinate bus number Secondary bus number I/O limit Memory base Prefetchable memory base Prefetchable base upper 32 bits Prefetchable limit upper 32 bits I/O limit upper 16 bits Reserved Expansion ROM base address Bridge control Subsystem ID Extension window base 0 Extension window limit 0 Extension window base 1 Extension window limit 1 Reserved Reserved Primary decode control Clock run control GPIO output data Arbiter timeout status Port decode map Bridge arbitration GPIO direction control Arbiter request mask Reserved Power management capabilities Reserved PMCSR Bridge Support Reserved Device type Device mask Reserved Chassis number Slot number Next item pointer Capability ID Power management control/status Buffer control GPIO input data Serialized IRQ support Diagnostic status Reserved Secondary decode control SERR status Extension window map SERR control Extension window enable Secondary clock/arbiter disable Diagnostic control GPIO output select Docking support Port decode enable Interrupt pin Interrupt line Subsystem vendor ID I/O base upper 16 bits Capability pointer Primary bus number I/O base Secondary status Memory limit Prefetchable memory limit Vendor ID Command Revision ID Cache line size OFFSET 00h 04h 08h 0Ch 10h 14h 18h 1Ch 20h 24h 28h 2Ch 30h 34h 38h 3Ch 40h 44h 48h 4Ch 50h 54h-5Ch 60h 64h 68h 6Ch 70h 74h 78h 7Ch 80h 84h 88h-EFh F0h F4h-FFh
22
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
vendor ID register
Bit Name Type Default R 0 R 0 R 0 R 1 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R 1 5 R 0 4 R 0 3 R 1 2 R 1 1 R 0 0 R 0 Vendor ID
Register: Type: Offset: Default: Description: device ID register
Bit Name Type Default R 1 R 0 15 14
Vendor ID Read only 00h 104Ch This 16-bit value is allocated by the PCI SIG (special interest group) and identifies TI as the manufacturer of this device. The vendor ID assigned to TI is 104Ch.
13 R 1 12 R 0 11 R 1 10 R 1 9 R 0 8 R 0 7 R 0 6 R 0 5 R 1 4 R 0 3 R 0 2 R 0 1 R 0 0 R 1
Device ID
Register: Type: Offset: Default: Description:
Device ID Read only 02h AC21h This 16-bit value is allocated by the vendor and identifies the PCI device. The device ID for the PCI2031 is AC21h.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
23
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
command register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R/W 0 15 14 13 12 11 10 9 8 R/W 0 7 R 0 6 R/W 0 5 R/W 0 4 R 0 3 R 0 2 R/W 0 1 R/W 0 0 R/W 0 Command
Register: Type: Offset: Default: Description:
Command Read only, read/write (see individual bit descriptions) 04h 0000h The command register provides control over the bridge's interface to the primary PCI bus. Palette snooping is enabled through this register, and all other bits adhere to the definitions in the PCI Local Bus Specification 2.1. Table 4 describes the bit functions in the command register. Table 4. Command Register
BIT 15-10 9
TYPE R R/W Reserved
FUNCTION Fast back-to-back enable. The bridge does not generate fast back-to-back transactions on the primary PCI bus. Bit 9 is read/write, but does not affect the bridge when set. This bit defaults to 0. System error (SERR) enable. Bit 8 controls the enable for the SERR driver on the primary interface. 0 = Disable SERR driver on primary interface (default) 1 = Enable the SERR driver on primary interface Wait cycle control. Bit 7 controls address/data stepping by the bridge on both interfaces. The bridge does not support address/data stepping and this bit is hardwired to 0. Parity error response enable. Bit 6 controls the bridge's response to parity errors. 0 = Parity error response disabled (default) 1 = Parity error response enabled VGA palette snoop enable. When set, the bridge passes I/O writes on the primary PCI bus with addresses 3C6h, 3C8h, and 3C9h inclusive of ISA aliases (i.e., only bits AD9-AD0 are included in the decode). Memory write and invalidate enable. In a PCI-to-PCI bridge, bit 4 must be read only and return 0 when read. Special cycle enable. A PCI-to-PCI bridge cannot respond as a target to special cycle transactions, so bit 3 is defined as read only and must return 0 when read. Bus master enable. Bit 2 controls the bridge's ability to initiate a cycle on the primary PCI bus. When bit 2 is 0, the bridge does not respond to any memory or I/O transactions on the secondary interface since they cannot be forwarded to the primary PCI bus. 0 = Bus master capability disabled (default) 1 = Bus master capability enabled Memory space enable. Bit 1 controls the bridge's response to memory accesses for both prefetchable and nonprefetchable memory spaces on the primary PCI bus. Only when bit 1 is set will the bridge forward memory accesses to the secondary bus from a primary bus initiator. 0 = Memory space disabled (default) 1 = Memory space enabled I/O space enable. Bit 0 controls the bridge's response to I/O accesses on the primary interface. Only when bit 0 is set will the bridge forward I/O accesses to the secondary bus from a primary bus initiator. 0 = I/O space disabled (default) 1 = I/O space enabled
8
R/W
7
R
6
R/W
5 4 3
R/W R R
2
R/W
1
R/W
0
R/W
24
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
status register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 1 0 15 14 13 12 11 10 9 8 Status R/W R 0 R 0 R 0 R 1 R 0 R 0 R 0 R 0 7 6 5 4 3 2 1 0
Register: Type: Offset: Default: Description:
Status Read only, read/write (see individual bit descriptions) 06h 0210h The status register provides device information to the host system. This register is read only. Bits in this register are cleared by writing a 1 to the respective bit; writing a 0 to a bit location has no effect. Table 5 describes the status register. Table 5. Status Register
BIT 15
TYPE R/W
FUNCTION Detected parity error. Bit 15 is set when a parity error is detected. Signaled system error (SERR). Bit 14 is set if SERR is enabled in the command register and the bridge signals a system error (SERR). See system error handling. 0 = No SERR signaled (default) 1 = Signals SERR Received master abort. Bit 13 is set when a cycle initiated by the bridge on the primary bus has been terminated by a master abort. 0 = No master abort received (default) 1 = Master abort received Received target abort. Bit 12 is set when a cycle initiated by the bridge on the primary bus has been terminated by a target abort. 0 = No target abort received (default) 1 = Target abort received Signaled target abort. Bit 11 is set by the bridge when it terminates a transaction on the primary bus with a target abort. 0 = No target abort signaled by the bridge (default) 1 = Target abort signaled by the bridge DEVSEL timing. These read-only bits encode the timing of P_DEVSEL and are hardwired 01b, indicating that the bridge asserts this signal at a medium speed. 01 = Hardwired (default) Data parity error detected. Bit 8 is encoded as: 0 = The conditions for setting this bit have not been met. No parity error detected. (default) 1 = A data parity error occurred and the following conditions were met: a. P_PERR was asserted by any PCI device including the bridge. b. The bridge was the bus master during the data parity error. c. The parity error response bit is set in the command register. Fast back-to-back capable. The bridge does not support fast back-to-back transactions as a target; therefore, bit 7 is hardwired to 0. User-definable feature (UDF) support. The PCI2031 does not support the user-definable features; therefore, bit 6 is hardwired to 0. 66 MHz capable. The PCI2031 operates at a maximum P_CLK frequency of 33 MHz; therefore, bit 5 is hardwired to 0. Capabilities list. Bit 4 is read only and is hardwired to 1, indicating that capabilities additional to standard PCI are implemented. The linked list of PCI power managment capabiities is implemented by this function. Reserved
14
R/W
13
R/W
12
R/W
11
R/W
10-9
R
8
R/W
7 6 5 4 3-0
R R R R R
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
25
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
revision ID register
Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 Revision ID R 0 R 0 R 0 R 0 3 2 1 0
Register: Type: Offset: Default: Description: class code register
Bit Name 23 22 21
Revision ID Read only 08h 00h (reflects the current revision of the silicon) The revision ID register indicates the silicon revision of the PCI2031.
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Class code Base class Sub class R 1 R 1 R 0 R 0 R 0 R 0 R 0 R 0 R 1 R 0 R 0 R 0 R 0 Programming interface R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0
Type Default
Register: Type: Offset: Default: Description:
Class code Read only 09h 060400h The class code register categorizes the PCI2031 as a PCI-to-PCI bridge device (0604h) with a 00h programming interface (lower byte = 00h).
7 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
cache line size register
Bit Name Type Default R/W 0 Cache line size
Register: Type: Offset: Default: Description:
Cache line size Read/write 0Ch 00h The cache line size register is programmed by host software to indicate the system cache line size needed by the bridge on memory read line and memory read multiple transactions.
26
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
latency timer register
Bit Name Type Default R/W 0 R/W 0 R/W 0 0 7 6 5 4 Latency timer R/W R/W 0 R/W 0 R/W 0 R/W 0 3 2 1 0
Register: Type: Offset: Default: Description:
Latency timer Read/write 0Dh 00h The latency timer register specifies the latency timer for the bridge in units of PCI clock cycles. When the bridge is a primary PCI bus initiator and asserts P_FRAME, the latency timer begins counting from 0. If the latency timer expires before the bridge transaction has terminated, the bridge terminates the transaction when its P_GNT is deasserted.
7 R 0 6 R 0 5 R 0 4 Header type R 0 R 0 R 0 R 0 R 1 3 2 1 0
header type register
Bit Name Type Default
Register: Type: Offset: Default: Description:
Header type Read only 0Eh 01h The header type register is read only and returns 01h when read, indicating that the PCI2031 configuration space adheres to the PCI-to-PCI bridge configuration. Only the layout for bytes 10h-3Fh of configuration space is considered.
7 R 0 6 R 0 5 R 0 4 BIST R 0 R 0 R 0 R 0 R 0 3 2 1 0
BIST register
Bit Name Type Default
Register: Type: Offset: Default: Description:
BIST Read only 0Fh 00h The PCI2031 does not support built-in self test (BIST). The BIST register is read only and returns the value 00h when read.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
27
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
base address register 0
Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 Base address register 0
Base address register 0
Register: Type: Offset: Default: Description:
Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 15 R 0 14 31 30
Base address register 0 (BAR0) Read only 10h 0000 0000h The bridge requires no additional resources. BAR0 is read only and returns 0s when read.
29 R 0 13 R 0 28 R 0 12 R 0 27 R 0 11 R 0 26 R 0 10 R 0 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0
base address register 1
Base address register 1
Base address register 1
Register: Type: Offset: Default: Description:
Bit Name Type Default
Base address register 1 (BAR1) Read only 14h 0000 0000h The bridge requires no additional resources. BAR1 is read only and returns 0s when read.
7 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
primary bus number register
Primary bus number R/W 0
Register: Type: Offset: Default: Description:
Primary bus number Read/write 18h 00h The primary bus number register indicates the primary bus number to which the bridge is connected. The bridge uses this register, in conjunction with the secondary bus number and subordinate bus number registers, to determine when to forward PCI configuration cycles to the secondary buses.
28
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
secondary bus number register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Secondary bus number
Register: Type: Offset: Default: Description:
Secondary bus number Read/write 19h 00h The secondary bus number register indicates the secondary bus number to which the bridge is connected. The PCI2031 uses this register, in conjunction with the primary bus number and subordinate bus number registers, to determine when to forward PCI configuration cycles to the secondary buses. Configuration cycles directed to the secondary bus are converted to type 0 configuration cycles.
7 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
subordinate bus number register
Bit Name Type Default R/W 0 Subordinate bus number
Register: Type: Offset: Default: Description:
Subordinate bus number Read/write 1Ah 00h The subordinate bus number register indicates the bus number of the highest numbered bus beyond the primary bus existing behind the bridge. The PCI2031 uses this register, in conjunction with the primary bus number and secondary bus number registers, to determine when to forward PCI configuration cycles to the subordinate buses. Configuration cycles directed to a subordinate bus (not the secondary bus) remain type 1 cycles as the cycle crosses the bridge.
7 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
secondary bus latency timer register
Bit Name Type Default R/W 0 Secondary bus latency timer
Register: Type: Offset: Default: Description:
Secondary bus latency timer Read/write 1Bh 00h The secondary bus latency timer specifies the latency timer for the bridge in units of PCI clock cycles. When the bridge is a secondary PCI bus initiator and asserts S_FRAME, the latency timer begins counting from 0. If the latency timer expires before the bridge transaction has terminated, the bridge terminates the transaction when its S_GNT is deasserted. The PCI-to-PCI bridge's S_GNT is an internal signal, and is removed when another secondary bus master arbitrates for the bus.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
29
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
I/O base register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 7 6 5 4 I/O base R 0 R 0 R 0 R 1 3 2 1 0
Register: Type: Offset: Default: Description:
I/O base Read only, read/write 1Ch 01h The I/O base register is used in decoding I/O addresses to pass through the bridge. The bridge supports 32-bit I/O addressing; thus, bits 3-0 are read only and default to 0001b. The upper four bits are writable and correspond to address bits AD15-AD12. The lower 12 address bits of the I/O base address are considered 0. Thus, the bottom of the defined I/O address range is aligned on a 4K-byte boundary. The upper 16 address bits of the 32-bit I/O base address corresponds to the contents of the I/O base upper 16-bit register (register 30h).
7 6 R/W 0 5 R/W 0 4 I/O limit R/W 0 3 R 0 2 R 0 1 R 0 0 R 1
I/O limit register
Bit Name Type Default R/W 0
Register: Type: Offset: Default: Description:
I/O limit Read only, read/write 1Dh 01h The I/O limit register is used in decoding I/O addresses to pass through the bridge. The bridge supports 32-bit I/O addressing; thus, bits 3-0 are read only and default to 0001b. The upper four bits are writable and correspond to address bits AD15-AD12. The lower 12 address bits of the I/O limit address are considered FFFh. Thus, the top of the defined I/O address range is aligned on a 4K-byte boundary. The upper 16 address bits of the 32-bit I/O limit address corresponds to the contents of the I/O limit upper 16-bit register (register 32h).
30
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
secondary status register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R 0 R 1 15 14 13 12 11 10 9 8 R/W 0 7 R 0 6 R 0 5 R 0 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Secondary status
Register: Type: Offset: Default: Description:
Secondary status Read only, read/write (see individual bit descriptions) 1Eh 0200h The secondary status register is similar in function to the status register at configuration offset 06h; however, its bits reflect status conditions of the secondary interface. Bits in this register are cleared by writing a 1 to the respective bit. Table 6. Secondary Status Register
BIT 15
TYPE R/W
FUNCTION Detected parity error. Bit 15 is set when a parity error is detected on the secondary interface. 0 = No parity error detected on the secondary bus (default) 1 = Parity error detected on the secondary bus Received system error. Bit 14 is set when the secondary interface detects S_SERR asserted. Note that the bridge never asserts S_SERR. 0 = No S_SERR detected on the secondary bus (default) 1 = S_SERR detected on the secondary bus Received master abort. Bit 13 is set when a cycle initiated by the bridge on the secondary bus has been terminated by a master abort. 0 = No master abort received (default) 1 = Bridge master aborted the cycle Received target abort. Bit 12 is set when a cycle initiated by the bridge on the secondary bus has been terminated by a target abort. 0 = No target abort received (default) 1 = Bridge received a target abort Signaled target abort. Bit 11 is set by the bridge when it terminates a transaction on the secondary bus with a target abort. 0 = No target abort signaled (default) 1 = Bridge signaled a target abort DEVSEL timing. These read-only bits encode the timing of S_DEVSEL and are hardwired to 01b, indicating that the bridge asserts this signal at a medium speed. Data parity error detected. 0 = The conditions for setting this bit have not been met 1 = A data parity error occurred and the following conditions were met: a. S_PERR was asserted by any PCI device including the bridge. b. The bridge was the bus master during the data parity error. c. The parity error response bit is set in the bridge control register. Fast back-to-back capable. Bit 7 is hardwired to 0. User-definable feature (UDF) support. Bit 6 is hardwired to 0. 66 MHz capable. Bit 5 is hardwired to 0. Reserved
14
R/W
13
R/W
12
R/W
11
R/W
10-9
R
8
R/W
7 6 5 4-0
R R R R
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
31
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
memory base register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 14 13 12 11 10 9 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R 0 2 R 0 1 R 0 0 R 0 Memory base
Register: Type: Offset: Default: Description:
Memory base (memory-mapped I/O base) Read only, read/write 20h 0000h The memory base register defines the base address of a memory-mapped I/O address range used by the bridge to determine when to forward memory transactions from one interface to the other. The upper 12 bits of this register are read/write and correspond to the address bits AD31-AD20. The lower 20 address bits are considered 0s; thus, the address range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
13 R/W 0 12 R/W 0 11 R/W 0 10 R/W 0 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R 0 2 R 0 1 R 0 0 R 0
memory limit register
Bit Name Type Default R/W 0 R/W 0 15 14 Memory limit
Register: Type: Offset: Default: Description:
Memory limit (memory-mapped I/O limit) Read only, read/write 22h 0000h The memory limit register defines the upper-limit address of a memory-mapped I/O address range used to determine when to forward memory transactions from one interface to the other. The upper 12 bits of this register are read/write and correspond to the address bits AD31-AD20. The lower 20 address bits are considered 1s; thus, the address range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
13 R/W 0 12 R/W 0 11 R/W 0 10 R/W 0 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R 0 2 R 0 1 R 0 0 R 0
prefetchable memory base register
Bit Name Type Default R/W 0 R/W 0 15 14 Prefetchable memory base
Register: Type: Offset: Default: Description:
Prefetchable memory base Read only, read/write 24h 0000h The prefetchable memory base register defines the base address of a prefetchable memory address range used by the bridge to determine when to forward memory transactions from one interface to the other. The upper 12 bits of this register are read/write and correspond to the address bits AD31-AD20. The lower 20 address bits are considered 0; thus, the address range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
32
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
prefetchable memory limit register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 14 13 12 11 10 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R 0 2 R 0 1 R 0 0 R 0 Prefetchable memory limit
Register: Type: Offset: Default: Description:
Prefetchable memory limit Read only, read/write 26h 0000h The prefetchable memory limit register defines the upper-limit address of a prefetchable memory address range used to determine when to forward memory transactions from one interface to the other. The upper 12 bits of this register are read/write and correspond to the address bits AD31-AD20. The lower 20 address bits are considered 1s; thus, the address range is aligned to a 1M-byte boundary. The bottom four bits are read only and return 0s when read.
29 R 0 13 R 0 28 R 0 12 R 0 27 R 0 11 R 0 26 R 0 10 R 0 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0
prefetchable base upper 32-bits register
Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 15 R 0 14 31 30 Prefetchable base upper 32 bits
Prefetchable base upper 32 bits
Register: Type: Offset: Default: Description:
Prefetchable base upper 32 bits Read only 28h 0000 0000h The PCI2031 does not support 64-bit addressing; thus, the prefetchable base upper 32-bit register is read only and returns 0s when read.
29 R 0 13 R 0 28 R 0 12 R 0 27 R 0 11 R 0 26 R 0 10 R 0 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0
prefetchable limit upper 32-bits register
Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 15 R 0 14 31 30 Prefetchable limit upper 32 bits
Prefetchable limit upper 32 bits
Register: Type: Offset: Default: Description:
Prefetchable limit upper 32 bits Read only 2Ch 0000 0000h The PCI2031 does not support 64-bit addressing; thus the prefetchable limit upper 32-bit register is read only and returns 0s when read.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
33
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
I/O base upper 16-bits register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 0 15 14 13 12 11 10 9 R/W 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 I/O base upper 16 bits
Register: Type: Offset: Default: Description:
I/O base upper 16 bits Read only 30h 0000h The I/O base upper 16-bits register specifies the upper 16 bits corresponding to AD31-AD16 of the 32-bit address that specifies the base of the I/O range to forward from the primary PCI bus to the secondary PCI bus.
13 R/W 0 12 R/W 0 11 R/W 0 10 R/W 0 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
I/O limit upper 16-bits register
Bit Name Type Default R/W 0 R/W 0 15 14 I/O limit upper 16 bits
Register: Type: Offset: Default: Description:
I/O limit upper 16 bits Read only 32h 0000h The I/O limit upper 16-bits register specifies the upper 16 bits corresponding to AD31-AD16 of the 32-bit address that specifies the upper limit of the I/O range to forward from the primary PCI bus to the secondary PCI bus.
capability pointer register
Bit Name Type Default R 1 R 0 R 0 7 6 5 4 3 2 1 0
Capability pointer register R 0 R 0 R 0 R 0 R 0
Register: Type: Offset: Default: Description:
capability pointer Read only 34h 80h The capability pointer register provides the pointer to the PCI configuration header where the PCI power management register block resides. The capability pointer provides access to the first item in the linked list of capabilities. The capability pointer register is read only and returns 80h when read, indicating the power management registers are located at PCI header offset 80h.
34
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
expansion ROM base address register
Bit Name Type Default Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 R 0 14 R 0 13 R 0 12 R 0 11 R 0 10 31 30 29 28 27 26 25 R 0 9 R 0 24 R 0 8 R 0 23 R 0 7 R 0 22 R 0 6 R 0 21 R 0 5 R 0 20 R 0 4 R 0 19 R 0 3 R 0 18 R 0 2 R 0 17 R 0 1 R 0 16 R 0 0 R 0 Expansion ROM base address
Expansion ROM base address
Register: Type: Offset: Default: Description: interrupt line register
Bit Name Type Default
Expansion ROM base address Read only 38h 0000 0000h The PCI2031 does not implement the expansion ROM remapping feature. The expansion ROM base address register returns all 0s when read.
7 6 R/W 1 5 R/W 1 4 Interrupt line R/W 1 3 R/W 1 2 R/W 1 1 R/W 1 0 R/W 1
R/W 1
Register: Type: Offset: Default: Description:
Interrupt line Read/write 3Ch FFh The interrupt line register is read/write and is used to communicate interrupt line routing information. Since the bridge does not implement an interrupt signal pin, this register defaults to FFh.
7 R 0 6 R 0 5 R 0 4 Interrupt pin R 0 R 0 R 0 R 0 R 0 3 2 1 0
interrupt pin register
Bit Name Type Default
Register: Type: Offset: Default: Description:
Interrupt pin Read only 3Dh 00h The bridge default state does not implement any interrupt pins. Reads from bits 7-1 of this register return 0s. When docking support is enabled, bit 0 of this register is 1 and bits 7-1 are 0.
NOTE: When docking support is enabled, bit 0 is 1. P_GPIO0 should be routed to INTA on the system board for docking interrupt support.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
35
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
bridge control register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 1 15 14 13 12 11 10 9 8 R 1 7 R 0 6 R/W 1 5 R/W 0 4 R 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Bridge control
Register: Type: Offset: Default: Description:
Bridge control Read only, read/write (see individual bit descriptions) 3Eh 0000h The bridge control register provides many of the same controls for the secondary interface that are provided by the command register for the primary interface. Some bits affect the operation of both interfaces.
36
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 7. Bridge Control Register
BIT 15-8 7 TYPE R R FUNCTION Reserved. These bits are read only and return 0s when read. Fast back-to-back capable. The bridge never generates fast back-to-back transactions to different secondary devices. Secondary bus reset. When bit 6 is set, the secondary reset signal (S_RST) is asserted. S_RST is deasserted by resetting this bit. Bit 6 is encoded as: 0 = Do not force the assertion of S_RST (default). 1 = Force the assertion of S_RST. Master abort mode. Bit 5 controls how the bridge responds to a master abort that occurs on either interface when the bridge is the master. If this bit is set and the posted write transaction has completed on the requesting interface, if enabled P_SERR is asserted when a master abort occurs. If the transaction has not completed, a target abort is signaled. If the bit is cleared, all 1s are returned on reads, and write data is accepted and discarded when a transaction that crosses the bridge is terminated with master abort. The default state of bit 5 after a reset is 0. 0 = Do not report master aborts (return FFFF FFFFh on reads and discard data on writes) (default). 1 = Report master aborts by signaling target abort if possible, or if SERR is enabled via bit 1 of this register, by asserting SERR. Reserved. Returns 0 when read. Writes have no effect. VGA enable. When bit 3 is set, the bridge positively decodes and forwards VGA-compatible memory addresses in the video frame buffer range 000A0000h-000BFFFFh, I/O addresses in the range 03B0h-03BBh, and 03C0-03DFh from the primary to the secondary interface, independent of the I/O and memory address ranges. When this bit is set, the bridge blocks forwarding of these addresses from the secondary to the primary. Reset clears this bit. Bit 3 is encoded as: 0 = Do not forward VGA-compatible memory and I/O addresses from the primary to the secondary interface. (default). 1 = Forward VGA-compatible memory and I/O addresses from the primary to the secondary, independent of the I/O and memory address ranges and independent of the ISA enable bit. ISA enable. When bit 2 is set, the bridge blocks the forwarding of ISA I/O transactions from the primary to the secondary, addressing the last 768 bytes in each 1K-byte block. This applies only to the addresses (defined by the I/O window registers) that are located in the first 64K bytes of PCI I/O address space. From the secondary to the primary, I/O transactions are forwarded if they address the last 768 bytes in each 1K-byte block in the address range specified in the I/O window registers. Bit 2 is encoded as: 0 = Forward all I/O addresses in the address range defined by the I/O base and I/O limit registers (default). 1 = Block forwarding of ISA I/O addresses in the address range defined by the I/O base and I/O limit registers when these I/O addresses are in the first 64K bytes of PCI I/O address space and address the top 768 bytes of each 1K-byte block. SERR enable. Bit 1 controls the forwarding of secondary interface SERR assertions to the primary interface. Only when this bit is set will the bridge forward S_SERR to the primary bus signal P_SERR. For the primary interface to assert SERR, bit 8 of the command register must be set. 0 = SERR disabled (default) 1 = SERR enabled Parity error response enable. Bit 0 controls the bridge's response to parity errors on the secondary interface. When this bit is set, the bridge asserts S_PERR to report parity errors on the secondary interface. 0 = Ignore address and parity errors on the secondary interface (default). 1 = Enable parity error reporting and detection on the secondary interface.
6
R/W
5
R/W
4
R
3
R/W
2
R/W
1
R/W
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
37
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
extension registers
The TI extension registers are those registers that lie outside the standard PCI-to-PCI bridge device configuration space (i.e., registers 40h-FFh in PCI configuration space in the PCI2031). These registers can be accessed through configuration reads and writes. The TI extension registers add flexibility and performance benefits to the standard PCI-to-PCI bridge. subsystem vendor ID register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 14 13 12 11 10 9 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Subsystem vendor
Register: Type: Offset: Default: Description:
Subsystem vendor ID Read/write 40-41h 0000h The subsystem vendor ID register is read/write and has a default value of 0000h. An add-in card manufacturer using the PCI2031 may write to this register via a device driver for identification purposes. Optionally, this register can also be loaded from EEPROM by the serial EEPROM interface. In this case, device drivers should not overwrite this value.
13 R/W 0 12 R/W 0 11 R/W 0 10 R/W 0 9 R/W 0 8 R/W 0 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
subsystem ID register
Bit Name Type Default R/W 0 R/W 0 15 14 Subsystem ID
Register: Type: Offset: Default: Description:
Subsystem ID Read only 42h-43h 0000h The subsystem ID register is read/write and has a default value of 0000h. An add-in card manufacturer using the PCI2031 may write to this register via a device driver for identification purposes. Optionally, this register can also be loaded from EEPROM by the serial EEPROM interface. In this case, device drivers should not overwrite this value.
38
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
extension window base registers 0,1
Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 15 R/W 0 14 R/W 0 13 R/W 0 12 R/W 0 11 R/W 0 10 31 30 29 28 27 26 25 R/W 0 9 R/W 0 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R 0 16 R/W 0 0 R 0 Extension window base 0,1
Extension window base 0,1
Register: Type: Offset: Default: Description:
Extension window base 0, 1 Read only, read/write 44h, 4Ch 0000 0000h The bridge supports two extension windows that define an address range decoded as described in the window enable register and window map register. The extension window base registers define the 32-bit base address of the window.
29 R/W 0 13 R/W 0 28 R/W 0 12 R/W 0 27 R/W 0 11 R/W 0 26 R/W 0 10 R/W 0 25 R/W 0 9 R/W 0 24 R/W 0 8 R/W 0 23 R/W 0 7 R/W 0 22 R/W 0 6 R/W 0 21 R/W 0 5 R/W 0 20 R/W 0 4 R/W 0 19 R/W 0 3 R/W 0 18 R/W 0 2 R/W 0 17 R/W 0 1 R/W 0 16 R/W 0 0 R/W 0
extension window limit registers 0,1
Bit Name Type Default Bit Name Type Default R/W 0 R/W 0 R/W 0 15 R/W 0 14 31 30 Extension window limit 0,1
Extension window limit 0,1
Register: Type: Offset: Default: Description:
Extension window limit 0, 1 Read/write 48h, 50h 0000 0000h The bridge supports two extension windows. Each window defines an address range that is decoded as described in the window enable register and window map register. The extension window limit registers define the 32-bit limit address of the window. Bits 0 and 1 of this register determine whether the extension window is a prefetchable memory window, a nonprefetchable window, or an I/O window. These bits are encoded as: 00 = Nonprefetchable memory 01 = Prefetchable memory 1x = I/O Memory windows have a 4K-byte granularity and I/O windows have a double-word (4 byte) granularity. When a memory window is selected, bits 11-2 have no effect and are assumed to be 1s for the limit register and 0s for the base register. This is consistent with the 4K-byte granularity of the memory windows.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
39
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
SERR control register
Bit Name Type Default R 0 R 0 R/W 0 1 7 6 5 4 SERR control R/W R/W 1 R/W 1 R/W 1 R/W 0 3 2 1 0
Register: Type: Offset: Default: Description:
SERR control Read only, read/write (see individual bit descriptions) 60h 0Eh The system error (SERR) control register enables SERR reporting. The SERR status register (configuration offset 61h) reflects the status of each bit in the SERR control register. Table 8. SERR Control Register
BIT 7-6
TYPE R Reserved
FUNCTION Data parity error. When set, bit 5 enables PERR reporting on transactions involving data parity errors when the bridge is mastering the bus. This bit should be enabled only when the bridge is configured for fixing parity errors. 0 = Data parity error when bridge is mastering disabled (default) 1 = Data parity error when bridge is mastering enabled Discard timeout on nonprefetchable reads. When set, bit 4 enables SERR reporting when the discard timer expires on nonprefetchable reads. 0 = Discard timeout disabled 1 = Discard timeout enabled (default) Master abort on posted write transactions. When set, bit 3 enables SERR reporting on master aborts on posted write transactions. 0 = Master aborts on posted writes disabled 1 = Master aborts on posted writes enabled (default) Target abort on posted writes. When set, bit 2 enables SERR reporting on target aborts on posted write transactions. 0 = Target aborts on posted writes disabled 1 = Target aborts on posted writes enabled (default) Parity error on posted writes. When set, bit 1 enables SERR reporting when a parity error occurs during a posted write transaction. 0 = Parity error on posted writes 1 = Parity error on posted writes (default) Arbiter timeout. When set, bit 0 enables SERR reporting when the arbiter timer expires (times out). 0 = SERR on arbiter timeout disabled (default) 1 = SERR on arbiter timeout enabled
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
40
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
SERR status register
Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 SERR status R 0 R 0 R 0 R 0 3 2 1 0
Register: Type: Offset: Default: Description:
SERR status Read only (see individual bit descriptions) 61h 00h The SERR status register reflects the status of the SERR control register. Table 9. SERR Status Register
BIT
TYPE
FUNCTION Master timeout SERR status. When set, bit 7 indicates that SERR has occurred due to a master timeout. The master retry enable bit (bit 15 of the diagnostic register) also enables the SERR response. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = Master timeout has caused SERR Address parity error SERR status. When set, bit 6 indicates that SERR has occurred due to an address parity error. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = Address parity error has caused SERR Data parity error SERR status. When set, bit 5 indicates that SERR has occurred on a transaction involving data parity errors while the bridge was mastering the bus. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = Data parity error while bridge was mastering has caused SERR Discard timeout on nonprefetchable reads SERR status. When set, bit 4 indicates that SERR has occurred due to expiration of the discard timer on nonprefetchable reads. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = Discard timeout enabled has caused an SERR Master abort on posted write transactions SERR status. When set, bit 3 indicates that SERR has occurred due to a master abort on a posted write transaction. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = SERR occurred due to a master abort on a posted write transaction Target abort on posted writes SERR status. When set, bit 2 indicates that SERR has occurred due to a target abort on a posted write transaction. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = SERR occurred due to a target abort on a posted write transaction Parity error on posted writes SERR status. When set, bit 1 indicates that SERR has occurred due to a parity error during a posted write transaction. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = SERR occurred due to a parity error during a posted write transaction Arbiter timeout SERR status. When set, bit 0 indicates that SERR has occurred due to the expiration of the arbiter timer. Writing a 1 to this bit clears it. 0 = No SERR (default) 1 = SERR occurred due to an arbiter timeout
7
R
6
R
5
R
4
R
3
R
2
R
1
R
0
R
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
41
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
extension window enable register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 Extension window enable
Register: Type: Offset: Default: Description:
Extension window enable Read only, read/write (see individual bit descriptions) 64h 00h The decode of the extension windows is enabled through bits 0 and 1 of this register. Table 10. Extension Window Enable Register
BIT 7-2 1 TYPE R R/W Reserved Extension window 1 interface enable 0 - Disable window 1 (default) 1 - Enable window 1 Extension window 0 interface enable 0 - Disable window 0 (default) 1 - Enable window 0 FUNCTION
0
R/W
extension window map register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 Extension window map
Register: Type: Offset: Default: Description:
Extension window map Read only, read/write (see individual bit descriptions) 65h 00h The inclusion or exclusion of the extension windows on the primary interface is selected through bits 0 and 1 of this register. The bit descriptions discuss the decode in reference to the primary interface. The secondary interface is the negative decode of the primary interface. Regions excluded on the primary interface can be positively decoded on the secondary interface if negative decoding is disabled on the secondary interface. Table 11. Extension Window Map Register
BIT 7-2 1
TYPE R R/W Reserved
FUNCTION Extension window 1 interface include/exclude 0 = Extension window 1 included in primary interface decode (default) 1 = Extension window 1 excluded in primary interface decode Extension window 0 interface include/exclude 0 = Extension window 0 included in primary interface decode (default) 1 = Extension window 0 excluded in primary interface decode
0
R/W
42
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
secondary decode control register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R/W 1 1 R/W 1 0 R/W 0 Secondary decode control
Register: Type: Offset: Default: Description:
Secondary decode control Read only, read/write (see individual bit descriptions) 66h 06h The secondary decode control register is used to enable/disable the secondary-bus negative decoding, and only through this register can an extension window be defined for positive decoding or excluded from negative decoding from the secondary bus to the primary bus. The window interface bits in the window control registers must be set for the extension window definitions in this register to have meaning. Table 12. Secondary Decode Control Register
BIT 7-3
TYPE R Reserved
FUNCTION Secondary-bus subtractive decode speed. The bridge defaults to subtractive decoding after slow decode speed (four clocks after FRAME is asserted). Bit 0 must be set to enable subtractive decoding. When bit 0 and this bit are set, subtractive decoding is enabled at slow decode speed. This bit is encoded as: 0 = Selects normal subtractive decode speed. 1 = Selects subtractive decode in the slow decode time slot (default). Secondary bus negative decode enable. The bridge defaults to negative decoding on the secondary PCI bus. All transactions that do not fall into windows positively decoded from the primary to the secondary are passed through to the primary bus. This bit is encoded as: 0 = Disable secondary-bus negative decoding. 1 = Enable secondary-bus negative decoding (default). Secondary-bus subtractive decode enable. The bridge defaults to negative decoding on the secondary PCI bus. When bit 0 is set, the bridge uses subtractive decoding on the secondary bus. When the bridge is using negative decoding on the secondary, all transactions not claimed by a slow device on the secondary bus are passed through the bridge to the primary bus. This bit is encoded as: 0 = Disable secondary bus subtractive decoding (default). 1 = Enable secondary bus subtractive decoding.
2
R/W
1
R/W
0
R/W
primary decode control register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R/W 0 0 R/W 0 Primary decode control
Register: Type: Offset: Default: Description:
Primary decode control Read only, read/write (see individual bit descriptions) 67h 00h The primary decode control register is used to enable and disable the primary-bus subtractive decoding and to select the primary-bus subtractive decode speed. The bridge defaults to primary-bus subtractive decoding disabled (bit 0 is cleared).
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
43
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 13. Primary Decode Control Register
BIT 7-2 TYPE R Reserved Primary-bus subtractive decode speed. The bridge defaults to subtractive decoding after slow decode speed (four clocks after FRAME is asserted). Bit 0 must be set to enable subtractive decoding. When bit 0 and this bit are set, subtractive decoding is enabled at slow decode speed. This bit is encoded as: 0 = Selects normal subtractive decode speed on primary bus (default). 1 = Selects subtractive decode in the slow decode time slot on the primary bus. Primary-bus subtractive decode enable. The bridge defaults to subtractive decoding disabled from the primary to secondary PCI bus. Each PCI bus can have only one subtractive decode device. 0 = Disable primary bus subtractive decoding (default) 1 = Enable primary bus subtractive decoding FUNCTION
1
R/W
0
R/W
port decode enable register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Port decode enable
Register: Type: Offset: Default: Description:
Port decode enable Read only, read/write (see individual bit descriptions) 68h-69h 0000h The port decode enable register is used to select which serial and parallel port addresses are positively decoded from the bridge's primary bus to the secondary bus. Table 14. Port Decode Enable Register
BIT 15-7 6 5 4 3 2 1 0
TYPE R R/W R/W R/W R/W R/W R/W R/W Reserved.
FUNCTION LPT3 enable. When bit 6 is set, the address ranges 278h-27Fh and 678h-67Bh are positively decoded and the cycles passed to the secondary bus based on the setting of bit 6 of the port decode map register. LPT2 enable. When bit 5 is set, the address ranges 378h-37Fh and 778h-77Bh are positively decoded and the cycles passed to the secondary bus based on the setting of bit 5 of the port decode map register. LPT1 enable. When bit 4 is set, the address ranges 3BCh-3BFh and 7BCh-7BFh are positively decoded and the cycles passed to the secondary bus based on the setting of bit 4 of the port decode map register. COM4 enable. When bit 3 is set, the address range 2E8h-2EFh is positively decoded and the cycles passed to the secondary bus based on the setting of bit 3 of the port decode map register. COM3 enable. When bit 2 is set, the address range 3E8h-3EFh is positively decoded and the cycles passed to the secondary bus based on the setting of bit 2 of the port decode map register. COM2 enable. When bit 1 is set, the address range 2F8h-2FFh is positively decoded and the cycles passed to the secondary bus based on the setting of bit 1 of the port decode map register. COM1 enable. When bit 0 is set, the address range 3F8h-3FFh is positively decoded and the cycles passed to the secondary bus based on the setting of bit 0 of the port decode map register.
44
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
port decode map register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 R 0 7 R 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Port decode map
Register: Type: Offset: Default: Description:
Port decode map Read only, read/write (see individual bit descriptions) 6Ah-6Bh 0000h The port decode map register is used to select whether the serial- and parallel-port address ranges positively decoded from the primary bridge interface to the secondary interface are included or excluded from the primary interface. For example, if bit 0 is set, addresses in the range of 3F8h-3FFh are positively decoded on the primary bus. If bit 0 is cleared and an I/O window is enabled that covers the range from 3F8h-3FFh, these addresses are claimed by the bridge. Table 15. Port Decode Map Register
BIT 15-7 6
TYPE R R/W Reserved
FUNCTION LPT3 include/exclude. Bit 6 is encoded as: 0 = 278h-27Fh and 678h-67Bh excluded from the primary bus (default) 1 = 278h-27Fh and 678h-67Bh positively decoded on the primary bus LPT2 include/exclude. Bit 5 is encoded as: 0 = 378h-37Fh and 778h-77Bh excluded from the primary bus (default) 1 = 378h-37Fh and 778h-77Bh positively decoded on the primary bus LPT1 include/exclude. Bit 4 is encoded as: 0 = 3BCh-3BFh and 7BCh-7BFh excluded from the primary bus (default) 1 = 3BCh-3BFh and 7BCh-7BFh positively decoded on the primary bus COM4 include/exclude. Bit 3 is encoded as: 0 = 2E8h-2EFh excluded from the primary bus (default) 1 = 2E8h-2EFh positively decoded on the primary bus COM3 include/exclude. Bit 2 is encoded as: 0 = 3E8h-3EFh excluded from the primary bus (default) 1 = 3E8h-3EFh positively decoded on the primary bus COM2 include/exclude. Bit 1 is encoded as: 0 = 2F8h-2FFh excluded from the primary bus (default) 1 = 2F8h-2FFh positively decoded on the primary bus COM1 include/exclude. Bit 0 is encoded as: 0 = 3F8h-3FFh excluded from the primary bus (default) 1 = 3F8h-3FFh positively decoded on the primary bus
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
45
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
secondary clock/arbiter disable register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Secondary clock/arbiter disable
Register: Type: Offset: Default: Description:
Secondary clock/arbiter disable Read/write (see individual bit descriptions) 6Ch 00h The secondary clock/arbiter disable register is used to disable each external clock to the secondary bus. Writing a 1 to the register bit forces the corresponding clock output low. This register is also used to disable the bridge's internal secondary bus arbiter. Table 16. Secondary Clock/Arbiter Disable Register
BIT
TYPE
FUNCTION Arbiter performance-enhancement feature. When enabled, this feature provides automatic tier operation for bus masters that have been retried or who have pending delayed transactions. In this case, the bus master gets promoted to the highest priority tier. 0 = Disabled (default) 1 = Enabled Internal arbiter disable. Bit 6 is used to disable the bridge's internal secondary bus arbiter. When the internal arbiter is disabled, the S_GNT0 pin becomes the secondary bus master's request signal. S_REQ0 becomes the secondary bus master's grant signal. 0 = Enable internal arbiter (default) 1 = Disable internal arbiter Disable clock output 5 0 = Enable clock (default) 1 = Disable clock Disable clock output 4 0 = Enable clock (default) 1 = Disable clock Disable clock output 3 0 = Enable clock (default) 1 = Disable clock Disable clock output 2 0 = Enable clock (default) 1 = Disable clock Disable clock output 1 0 = Enable clock (default) 1 = Disable clock Disable clock output 0 0 = Enable clock (default) 1 = Disable clock
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
46
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
buffer control register
Bit Name Type Default R 0 R 0 R/W 1 0 7 6 5 4 Buffer control R/W R/W 1 R/W 1 R/W 1 R/W 1 3 2 1 0
Register: Type: Offset: Default: Description:
Buffer control Read only, read/write (see individual bit descriptions) 6Dh 2Fh The buffer control register allows software to enable/disable write posting and control memory read burst prefetching. The buffer control register also enables/disables the posted memory write reconnect feature. Table 17. Buffer Control Register
BIT 7-6
TYPE R Reserved
FUNCTION Posted write reconnect enable. The bridge defaults to posted write reconnect enabled. This feature allows for a more efficient use of the bridge FIFOs. The bridge reconnects a new posted write transaction if the following conditions are met: 1. The new posted write transaction address is 1 doubleword greater than the transaction in the FIFO. 2. There are greater than four doublewords of data in the FIFO. 3. There are greater than 4 doublewords of free space in the FIFO. When this feature is disabled, the bridge flushes the FIFO before accepting another transaction. 0 = Disabled. 1 = Enabled. (default) Upstream MRM/MRL read burst enable. By default, the PCI2031 is set to memory read burst a single cache line. By setting this bit to 1, the PCI2031 will memory read burst multiple cache lines or until the FIFO is full. To utilize this feature, bit 3 of this register must be set to 1. 0 = Disabled. (default) 1 = Enabled. Upstream memory read burst enable. The bridge defaults to upstream memory read bursting disabled. Bit 3 enables upstream memory read bursting and indicates upstream memory is prefetchable. This bit is encoded as: 0 = Disabled (default). 1 = Enabled. Downstream memory read burst enable. The bridge defaults to downstream memory read bursting enabled. Bit 2 enables downstream memory read bursting in prefetchable windows. This bit is encoded as: 0 = Disabled. 1 = Enabled (default). Secondary-to-primary write posting enable. Enables posting of write data to and from the primary interface. If bit 1 is not set, the bridge must drain any data in its buffers before accepting data to or from the primary interface. Each data word must then be accepted by the target before the bridge can accept the next word from the source master. The bridge must not release the source master until the last word is accepted by the target. Operating with the write posting enabled enhances system performance. 0 = Write posting disabled 1 = Write posting enabled (default) Primary-to-secondary write posting enable. Enables posting of write data to and from the secondary interface. If bit 0 is not set, then the bridge must drain any data in its buffers before accepting data to or from the secondary interface. Each data word must then be accepted by the target before the bridge can accept the next word from the source master. The bridge must not release the source master until the last word is accepted by the target. Operating with the write posting enabled enhances system performance. 0 = Write posting disabled 1 = Write posting enabled (default)
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
47
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
bridge arbitration register
Bit Name Type Default R/W 0 R/W 1 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Bridge arbitration
Register: Type: Offset: Default: Description:
Bridge arbitration Read/write (see individual bit descriptions) 6Eh 40h The bridge arbitration register is used for the bridge's internal arbiter. The arbitration scheme used is a two-tier rotational arbitration. The PCI2031 bridge is the only secondary bus initiator that defaults to the higher priority arbitration tier. The bus-parking scheme is configured in this register. Table 18. Bridge Arbitration Register
BIT
TYPE
FUNCTION Bus parking. Bit 7 determines where the PCI2031's internal arbiter parks the secondary bus. When this bit is set, the arbiter parks the secondary bus on the PCI2031 bridge. When this bit is cleared, the arbiter parks the secondary bus on the last device mastering the secondary bus. This bit is encoded as: 0 = Park the secondary bus on the last secondary master (default). 1 = Park the secondary bus on the bridge. Bridge tier select. Bit 6 determines in which tier the bridge is placed in the two-tier arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier 1 = Highest-priority tier (default) GNT5 tier select. Bit 5 determines in which tier the S_GNT5 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier GNT4 tier select. Bit 4 determines in which tier the S_GNT4 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier GNT3 tier select. Bit 3 determines in which tier the S_GNT3 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier GNT2 tier select. Bit 2 determines in which tier the S_GNT2 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier GNT1 tier select. Bit 1 determines in which tier the S_GNT1 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier GNT0 tier select. Bit 0 determines in which tier the S_GNT0 is placed in the arbitration scheme. This bit is encoded as: 0 = Lowest-priority tier (default) 1 = Highest-priority tier
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
48
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
clock run control register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R 0 Clock run control
Register: Type: Offset: Default: Description:
Clock run control Read only, read/write (see individual bit descriptions) 6Fh 00h The clock run control register controls the PCI clock-run mode enable/disable. It is also used to enable the keep-clock-running feature. Bit 0 reflects the status of the secondary clock. There are two clock run modes supported on the secondary bus. The bridge can be configured to stop the secondary PCI clock only in response to a request from the primary bus to stop the clock, or it can be configured to stop the secondary clock whenever the secondary bus is idle and there are no transaction requests from the primary bus. There are two conditions for restarting the secondary clock. A downstream transaction restarts the secondary clock, or if the S_CLKRUN signal is asserted, the secondary clock is restarted. Table 19. Clock Run Control Register
BIT 7-5
TYPE R Reserved
FUNCTION Clock run mode. Bit 4 is encoded as: 0 = Stop the secondary clock only on request from the primary bus (default). 1 = Stop the secondary clock whenever the secondary bus is idle and there are no requests from the primary bus. Primary clock run enable. Bit 3 must be enabled for the bridge to respond to requests by the central resource on the primary bus to stop the clock. 0 = Disable clock run (default) 1 = Enable clock run Primary keep clock. When bit 2 is set, it causes the bridge to request that the central resource keep the PCI clock running. . 0 = Allow primary clock to stop if secondary clock stopped (default) 1 = Always keep primary clock running Secondary clock run enable 0 = Disable clock run for secondary (default) 1 = Enable clock run for secondary Secondary clock status bit. If the clock is stopped, this bit is 1. If the clock is running, this bit is 0. 0 = Secondary clock not stopped (default) 1 = Secondary clock stopped
4
R/W
3
R/W
2
R/W
1
R/W
0
R
diagnostic control register
Bit Name Type Default R/W 0 R/W 0 R/W 0 R/W 1 R/W 0 R/W 0 R/W 1 15 14 13 12 11 10 9 8 R/W 1 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Diagnostic control
Register: Type: Offset: Default: Description:
Diagnostic control Read/write (see individual bit descriptions) 70h-71h 1340h The diagnostic control register is used for bridge diagnostics.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
49
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 20. Diagnostic Control Register
BIT 15 TYPE R/W FUNCTION Master retry timeout enable. When set, bit 15 enables master retry timer. This bit is encoded as: 0 = Master retry disabled (default) 1 = Master retry enabled Parity mode. Bit 14 is encoded as: 0 = Parity error passing enabled (default) 1 = Parity error passing disabled Upstream lock enable. The bridge default is to disable upstream lock. When set, bit 13 enables upstream resource locking. This bit is encoded as: 0 = Selects upstream lock disabled (default) 1 = Selects upstream lock enabled Downstream lock enable. The bridge default is to enable downstream lock. When set, bit 12 enables downstream resource locking. This bit is encoded as: 0 = Selects downstream lock disabled 1 = Selects downstream lock enabled (default) Secondary-bus decode speed. The bridge defaults to medium decode speed on the secondary bus. Bit 11 selects between medium and slow decode speed. This bit is encoded as: 0 = Secondary bus decodes at medium decode speed (default) 1 = Secondary bus decodes at slow decode speed Primary-bus decode speed. The bridge defaults to medium decode speed on the primary bus. Bit 10 selects between medium and slow decode speed. This bit is encoded as: 0 = Primary bus decodes at medium decode speed (default) 1 = Primary bus decodes at slow decode speed Secondary-slave discard timer enable 0 = Disable 1 = Enable (default) Primary-slave discard timer enable 0 = Disable 1 = Enable (default) Reserved Transaction ordering enable 0 = Disabled 1 = Enabled (default) Secondary initial data phase counter extension 0 = Normal 16 clock to initial data phase (default) 1 = Extends initial data phase to 64 clocks Primary initial data phase counter disable 0 = Enable 16 clock initial data phase counter (default) 1 = Disable 16 clock initial data phase counter Note: The secondary initial data phase counter is always enabled. Primary initial data phase counter extension 0 = Normal 16 clocks to initial data phase (default) 1 = Extends initial data phase to 64 clocks Immediate retry mode 0 = Immediate retry mode enabled (default) 1 = Immediate retry mode disabled Discard timer test mode. Bit 1 selects the number of clock cycles that must expire before the bridge can discard status or data from a delayed transaction. This bit is encoded as: 0 = Discard timer 215 clocks (default) 1 = Discard timer 210 clocks NAND tree test enable 0 = NAND tree test not requested (default) 1 = Request NAND tree test
14
R/W
13
R/W
12
R/W
11
R/W
10
R/W
9
R/W
8 7 6
R/W R/W R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
50
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
diagnostic status register
Bit Name Type Default R 0 R 0 R 0 R 0 R/W 0 R/W 0 R/W 0 15 14 13 12 11 10 9 8 R/W 0 7 R 0 6 R 0 5 R 0 4 R/W 0 3 R/W 0 2 R 0 1 R 0 0 R/W 0 Diagnostic status
Register: Type: Offset: Default: Description:
Diagnostic status Read only, read/write (see individual bit descriptions) 72h-73h 0000h The diagnostic status register is used to reflect the bridge diagnostic status. Table 21. Diagnostic Status Register
BIT 15-12
TYPE R Reserved
FUNCTION Bridge detected a parity error while mastering on the secondary bus. When set, bit 11 indicates that the secondary bus master detected a parity error. Writing a 1 to this bit clears it. 0 = No parity error detected 1 = Parity error detected Bridge detected a parity error while mastering on the primary bus. When set, bit 10 indicates that the primary bus master detected a parity error. Writing a 1 to this bit clears it. 0 = No parity error detected 1 = Parity error detected Secondary-slave discard timer expired. Writing a 1 to this bit clears it. 0 = Discard timer not expired 1 = Discard timer expired Primary-slave discard timer expired. Writing a 1 to this bit clears it. 0 = Discard timer not expired 1 = Discard timer expired Reserved Serial EEPROM detect status. When bit 4 is cleared, it indicates that the serial EEPROM block detected an EEPROM. Writing a 1 to this bit clears it. This bit is encoded as: 0 = Serial EEPROM block detected an EEPROM. 1 = Serial EEPROM block did not detect an EEPROM. Serial EEPROM block error status. Bit 3 indicates the error status of the serial EEPROM block. This bit is set when a data error has occurred in the serial EEPROM block. Writing a 1 to this bit clears it. This bit is encoded as: 0 = No error detected. 1 = Data error detected. External arbiter enable pin status. Bit 2 contains the current state of the external pin external arbiter enable. 0 = Signal low 1 = Signal high Serial EEPROM block status. Bit 1 indicates the status of the serial EEPROM block. When set, bit 1 indicates that the serial EEPROM block is busy. 0 = Serial EEPROM block not busy 1 = Serial EEPROM block busy Arbiter timeout status. Bit 0 indicates the status of the arbiter timer. When set, bit 0 indicates that a bus master did not begin the cycle within 16 clocks. Writing a 1 to this bit clears it. This bit is encoded as: 0 = No timeout (default). 1 = Master requesting the bus did not start cycle within 16 clocks.
11
R/W
10
R/W
9
R/W
8 7-5
R/W R
4
R/W
3
R/W
2
R
1
R
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
51
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
GPIO output select register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 GPIO output select
Register: Type: Offset: Default: Description:
GPIO output select Read/write (see individual bit descriptions) 74h 00h The GPIO output select register is used for debug purposes. P_GPIO0 can be configured as an output and used as an interrupt request from the PCI2031 when docking support is enabled. P_GPIO2 and P_GPIO3 can be configured as input pins and used as docking station support detect pins 1 and 2, respectively. S_GPIO0 and S_GPIO1 are used for the serial EEPROM interface when implemented; S_GPIO0 serves as the clock line and S_GPIO1 serves as the data line. P_GPIO1 and S_GPIO2 can be used as the primary and secondary bus IRQSER pins, respectively. Table 22. GPIO Output Select Register
BIT 7
TYPE R/W
FUNCTION S_GPIO3. The value of bit 7 selects the function of S_GPIO3. 0 = Normal GPIO output data (default) 1 = Internal test signal that is asserted low when DEVSEL is driven by bridge on secondary bus S_GPIO2. If serialized IRQ support is enabled via bit 0 of the serial IRQ support register, configuration offset 79h, S_GPIO2 is used as the secondary IRQSER pin. 0 = Normal GPIO output data (default) 1 = Selects internal test signal that is asserted low when frame is driven by bridge on secondary bus S_GPIO1. If an EEPROM is present in the system, S_PGIO1 is used for the serial EEPROM interface. 0 = Normal GPIO output data (default) 1 = Selects bridge grant signal to PCI secondary interface S_GPIO0. If an EEPROM is present in the system, S_PGIO0 is used for the serial EEPROM interface. 0 = Normal GPIO output data (default) 1 = Selects bridge request signal from PCI secondary interface P_GPIO3. If docking support is enabled via bit 0 of the docking support register, configuration offset 78h, P_GPIO3 is used as docking change detect pin 2. 0 = Normal GPIO output data (default) 1 = Selects internal test signal that is asserted low when DEVSEL is driven by bridge on primary bus P_GPIO2. If docking support is enabled via bit 0 of the docking support register, configuration offset 78h, P_GPIO2 is used as docking change detect pin 1. 0 = Normal GPIO output data (default) 1 = Selects internal test signal that is asserted low when frame is driven by bridge on primary bus P_GPIO1. If serialized IRQ support is enabled via bit 0 of the serial IRQ support register, configuration offset 79h, P_GPIO1 is used as the primary IRQSER pin. 0 = Normal GPIO output data (default) 1 = Selects signal indicating the primary PCI interface is locked as a resource P_GPIO0. If docking support is enabled via bit 0 of the docking support register, configuration offset 78h, P_GPIO0 is used as the interrupt request from the bridge. 0 = Normal GPIO output data (default) 1 = Selects internal test signal that is asserted high when 16 clock arbitration timeout occurs
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
52
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
GPIO input data register
Bit Name Type Default R X R X R X 7 6 5 4 R X 3 R X 2 R X 1 R X 0 R X GPIO input data
Register: Type: Offset: Default: Description:
GPIO input data Read only (see individual bit descriptions) 75h XXh The GPIO input data register reflects the state of the GPIO pins. Table 23. GPIO Input Data Register
BIT 7-4 TYPE R FUNCTION S_GPIO3-S_GPIO0 pin state 0 = Low 1 = High P_GPIO3-P_GPIO0 pin state 0 = Low 1 = High
3-0
R
GPIOx input data bit
Debug test data GPIOx output data bit GPIOx output select bit 0 = GPIOx output 1 = Other function GPIOx direction control bit 0 = Input 1 = Output
Figure 5. GPIO Buffer
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
53
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
GPIO direction control register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 GPIO direction control
Register: Type: Offset: Default: Description:
GPIO direction control Read/write (see individual bit descriptions) 76h 00h The GPIO direction control register controls the direction of the GPIO pins. Table 24. GPIO Direction Control Register
BIT 7-4 TYPE R/W FUNCTION S_GPIO3-S_GPIO0 pin state 0 = Input (default) 1 = Output P_GPIO3-P_GPIO0 pin state 0 = Input (default) 1 = Output
3-0
R/W
GPIO output data register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 GPIO output data
Register: Type: Offset: Default: Description:
GPIO output data Read/write (see individual bit descriptions) 77h 00h The GPIO output data register contains the output data for any selected GPIO pin. Table 25. GPIO Output Data Register
BIT 7-4 TYPE R/W FUNCTION S_GPIO3-S_GPIO0 output data 0 = Data-out value if selected is 0 (default) 1 = Data-out value if selected is 1 P_GPIO3-P_GPIO0 output data 0 = Data-out value if selected is 0 (default) 1 = Data-out value if selected is 1
3-0
R/W
54
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
docking support register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Docking support
Register: Type: Offset: Default: Description:
Docking support Read only, read/write (see individual bit descriptions) 78h 00h The docking support register is used for docking support. A change in state on the P_GPIO3 pin or the P_GPIO2 pin is reflected as a change on the P_GPIO0 pin. Table 26. Docking Support Register
BIT 7-4 3
TYPE R R/W Reserved
FUNCTION P_GPIO3 change detect status. A change in bit 3 is reflected on the P_GPIO0 pin. 0 = No change (default) 1 = Change has occurred. Write a 1 to clear this bit. P_GPIO2 change detect status. A change in bit 2 is reflected on the P_GPIO0 pin. 0 = No change (default) 1 = Change has occurred. Write a 1 to clear this bit. Single line select 0 = Single line connect detect (default) 1 = Two line connect detect Docking support enable 0 = Disable (default) 1 = Enable
2
R/W
1
R/W
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
55
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
serialized IRQ support register
Bit Name Type Default R 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Serialized IRQ support
Register: Type: Offset: Default: Description:
Serialized IRQ support Read/write (see individual bit descriptions) 79h 00h The serialized IRQ support register is used to configure the serialized IRQ stream. Serialized IRQ support is enabled/disabled via bit 0 of the serialized IRQ support register. The start frame is variable from four to six PCI clocks wide. The bridge does not support an 8-clock start frame. Bits 2 and 1 are used to configure the number of clocks in the start frame. Bits 6-3 are used to configure the number of data frames in the serialized IRQ stream - up to 32 data frames are permitted, including the start frame, the I/O channel check frame, and the stop frame. The host controller must do one stream in continuous mode before switching to quiet mode. The continuous stream must be for 17 data frames.
Table 27. Serialized IRQ Support Register
BIT 7 TYPE R Reserved Number of IRQ/data frames. These bits determine the number of IRQ/data frames for the serialized IRQ stream. The host is required to support a minimum of 17 IRQ/data frames and a maximum of 32. These bits are encoded as: 0000 = 17 IRQ/data frames (default) 0001 = 18 IRQ/data frames 0010 = 19 IRQ/data frames 0011 = 20 IRQ/data frames 0100 = 21 IRQ/data frames 0101 = 22 IRQ/data frames 0110 = 23 IRQ/data frames 0111 = 24 IRQ/data frames 1000 = 25 IRQ/data frames 1001 = 26 IRQ/data frames 1010 = 27 IRQ/data frames 1011 = 28 IRQ/data frames 1100 = 29 IRQ/data frames 1101 = 30 IRQ/data frames 1110 = 31 IRQ/data frames 1111 = 32 IRQ/data frames Start frame clock select. These bits determine the number of PCI clock cycles in the start frame. The PCI2031 bridge does not support an 8-clock start frame. These bits are encoded as: 00 = 4 clock cycles per start frame (default) 01 = 6 clock cycles per start frame 10 = 4 clock cycles per start frame 11 = 6 clock cycles per start frame Serialized IRQ support enable. Bit 0 is used to enable/disable serialized IRQ support. It is encoded as: 0 = Serialized IRQ support disabled (default) 1 = Serialized IRQ support enabled FUNCTION
6-3
R/W
2-1
R/W
0
R/W
56
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
arbiter request mask register
Bit Name Type Default R 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Arbiter request mask
Register: Type: Offset: Default: Description:
Arbiter request mask Read/write (see individual bit descriptions) 7Ah 00h The arbiter request mask register contains the SERR enable on arbiter timeouts and the request mask controls. Table 28. Arbiter Request Mask Register
BIT 7 6 TYPE R R/W Reserved Timeout automatic masking enable 0 = Masking not automatic (default) 1 = Allow masking after 16 clock timeouts Request 5 (REQ5) mask bit 0 = Use request 5 (default) 1 = Ignore request 5 Request 4 (REQ4) mask bit 0 = Use request 4 (default) 1 = Ignore request 4 Request 3 (REQ3) mask bit 0 = Use request 3 (default) 1 = Ignore request 3 Request 2 (REQ2) mask bit 0 = Use request 2 (default) 1 = Ignore request 2 Request 1 (REQ1) mask bit 0 = Use request 1 (default) 1 = Ignore request 1 Request 0 (REQ0) mask bit 0 = Use request 0 (default) 1 = Ignore request 0 FUNCTION
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
57
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
arbiter timeout status register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 R 0 3 R 0 2 R 0 1 R 0 0 R 0 Arbiter timeout status
Register: Type: Offset: Default: Description:
Arbiter timeout status Read only (see individual bit descriptions) 7Bh 00h The arbiter timeout status register contains the status of each request (request 5-0) timeout. The timeout status bit for the respective request is set if the device did not assert FRAME after 16 clocks. Table 29. Arbiter Timeout Status Register
BIT 7-6 5 TYPE R R Reserved Request 5 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred Request 4 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred Request 3 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred Request 2 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred Request 1 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred Request 0 timeout status. Cleared by writing a 1. 0 = No timeout (default) 1 = Timeout has occurred FUNCTION
4
R
3
R
2
R
1
R
0
R
capability ID register
Bit Name Type Default R 0 R 0 R 0 R 0 7 6 5 4 Capability ID R 0 R 0 R 0 R 1 3 2 1 0
Register: Type: Offset: Default: Description:
Capability ID Read only 80h 01h The cability ID register identifies the linked list item as the register for PCI Power Management. The cability ID register returns 01h when read, which is the unique ID assigned by the PCI SIG for PCI location of the capabilities pointer and the value.
58
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
next item pointer register
Bit Name Type Default R 0 R 0 R 0 7 6 5 4 3 2 1 0
Next item pointer R 0 R 0 R 0 R 0 R 0
Register: Type: Offset: Default: Description:
Next item pointer Read only 81h 00h The next item pointer register is used to indicate the next item in the linked list of PCI power management capabilities. Since the PCI2031 only provides one capabilities list item, this register returns zeros when read.
13 12 11 10 9 8 7 6 5 4 3 2 1 0
power management capabilities register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 1 15 14 Power management capabilities R 1 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 1
Register: Type: Offset: Default: Description:
Power management capabilities Read only 82h 0601h The power management capabilities register contains information on the capabilities of the PCI2031 functions related to power management. The PCI2031 function supports D0, D1, D2, and D3 power states. Table 30. Power Management Capabilities Register
BIT 15-11
TYPE R
FUNCTION PME Support. This five bit field indicates the power states that the device supports asserting PME#. A `0' for any of these bits indicates that the PCI2031 cannot assert PME# signal from that power state. For the PCI2031, these five bits return `00000b' when read indicating that PME# is not supported. D2 Support. This bit returns `1' when read, indicating that the Bridge function supports the D2 device power state. D1 Support. This bit returns `1' when read, indicating that the Bridge function supports the D1 device power state. Reserved. Device Specific Initialization. This bit is read only and returns `0' when read, indicating that the bridge function does not require special initialization (beyond the standard PCI configuration header) before the generic class device driver is able to use it. Auxilliary Power Source. This bit is read only and returns a `0' because the PCI2031 does not support PME# signaling. PMECLK. This bit is read only and returns a `0' because the PME# signaling is not supported. Version. This three bit register returns `001b' when read, indicating Revision 1.0 of PCI Bus Power Management Interface Specification.
10 9 8-6 5
R R R R
4 3 2-0
R R R
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
59
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
power management control/status register
Bit Name Type Default R 0 R 0 R 0 R 0 R 0 R 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Power management control/status R 0 R 0 R 0 R 0 R 0 R 0 R 0 R 0 R/W 0 R/W 0
Register: Type: Offset: Default: Description:
Power management control/status Read only, Read/Write 84h 0000h The power management control/status register determines and changes the current power state of the PCI2031. The contents of this register are not affected by the internally generated reset caused by the transition from D3hot to D0 state. Table 31. Power Management Capabilities Register
BIT 15 14-13 12-9 8 7-2
TYPE R R R R R
FUNCTION PME Status. This bit is read only and returns a zero because the PCI2031 does not support PME#. Data Scale. This two bit field is read only returning zeros when read. The PCI2031 function does not return any dynamic data, as indicated by the DYNAMIC DATA bit. Data Select. This four bit field is read only returning zeros when read. The PCI2031 function does not return any dynamic data, as indicated by the DYNAMIC DATA bit. PME Enable. This bit is read only and returns a zero because the PCI2031 does not support PME# signaling. Reserved. These bits are read only and return zeros when read. Power State. This two bit field is used both to determine the current power state of a function and to set the function into a new power state. The definition of the two bit field is given below: 00 - D0 01 - D1 10 - D2 11 - D3hot
1-0
R/W
PMCSR bridge support
Bit Name Type Default R 1 R 1 R 0 7 6 5 4 3 2 1 0
PMCSR bridge support R 0 R 0 R 0 R 0 R 0
Register: Type: Offset: Default: Description:
PMCSR bridge support Read only 86h C0h The PMCSR bridge support register is required for all PCI bridges and supports PCI bridge specific functionality.
60
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 32. PMCSR Bridge Support Register
BIT 7 TYPE R FUNCTION Bus Power Control Enable. This bit is read only and returns a one when read indicating that the power management state of the secondary bus follows that of the PCI2031 with one exception, D3hot state. The action that occurs when the PCI2031 is programmed to D3hot state is determined by the B2/B3 Support bit. B2/B3 Support for D3hot. This bit is read only and returns a one when read indicating that when the PCI2031 is programmed to D3hot state the secondary bus's clock is stopped (B2). Reserved.
6 5-0
R R
slot number register
Bit Name Type Default R/W 0 R/W 0 R/W 0 0 7 6 5 4 Slot number R/W R/W 0 R/W 0 R/W 0 R/W 0 3 2 1 0
Register: Type: Offset: Default: Description:
Slot number Read/write (see individual bit descriptions) F0h 00h The slot number register is configured by an EEPROM at system power up. While the EEPROM is loading data into this register, the PCI2031 retries all configuration read accesses to this register and to the subsystem vendor ID register (40h). Configuration read accesses to register 2Ch and register 40h for devices 0-7 on the PCI2031 secondary are also retried while the EEPROM is loading data into the PCI2031 subsystem vendor ID and slot number registers. Table 33. Slot Number Register
BIT 7-6 5
TYPE R/W R/W Reserved
FUNCTION Slots follow parent. If bit 5 is 0, it indicates that this bridge is a parent bridge. In this case, the slot number is equal to the PCI device number. If bit 5 is 1 in this bridge configuration, software must calculate the slot number. See Appendix B, Slot Numbering, in the PCI-to-PCI bridge specification for details on calculating the slot number. Expansion slots provided. This value is used to calculate the slot number for a device in an expansion chassis. See Appendix B, Slot Numbering, in the PCI-to-PCI bridge specification for details on calculating the slot number.
4-0
R/W
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
61
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
chassis number register
Bit Name Type Default R/W 0 R/W 0 R/W 0 7 6 5 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0 Chassis number
Register: Type: Offset: Default: Description:
Chassis number Read/write F1h 00h This 8-bit register designates the chassis number in which the slots on the bridge's secondary bus reside. The chassis number register is configured by the system configuration software at system power up and each time the system is reconfigured. The main chassis is always chassis 0. Conflicts between chassis are resolved automatically every time the system is powered up.
7 6 R/W 0 5 R/W 0 4 Device mask R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 0
device mask register
Bit Name Type Default R/W 0
Register: Type: Offset: Default: Description:
Device mask Read/write (see individual bit descriptions) F2h 00h The device mask register is configured from an EEPROM during system boot up. The bits in this register control access to the subsystem vendor ID register of devices on the secondary bus of the bridge. Each bit of this register corresponds to the device on the secondary of the same number. For example, bit 0 of this register corresponds to device zero on the secondary bus, bit 1 corresponds to device one on the secondary bus, and so on. If the bit value is 1, it indicates that the corresponding device is masked. If the bit is 0, it indicates that the corresponding device is not masked. Table 34 describes the bits in the device mask register. The PCI2031 supports up to six devices on its secondary bus - up to eight if an external arbiter is used. The device number is encoded in bits 13-11 of the PCI AD bus during a configuration cycle. Table 35 describes the results of configuration read accesses to the subsystem vendor ID register of devices on the secondary based on the bits of this register and the corresponding bits in the device-type register. For example, if bit 3 of the device mask register is 0, and bit 3 of the device-type register is 1 (01), then read accesses to the subsystem vendor ID registers (2Ch for nonbridge devices and 40h for bridge devices) of device number 3 are passed through the bridge to the device 3 on the secondary bus. The bridge does not return any data. If bit 5 of the device mask register is 1, and bit 5 of the device-type register is 1, read accesses to register 40h of device 5 are masked and the bridge returns data from its own register 40h. In Table 35, n = 0, 1, 2, 3, 4, 5, 6, or 7.
62
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
Table 34. Device Mask Register
BIT TYPE FUNCTION Bit 7 corresponds to device 7 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 6 corresponds to device 6 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 5 corresponds to device 5 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 4 corresponds to device 4 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 3 corresponds to device 3 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch /40h are masked Bit 2 corresponds to device 2 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 1 corresponds to device 1 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked Bit 0 corresponds to device 0 on the secondary bus. When this bit is 1, it indicates that configuration read accesses to register 2Ch of a nonbridge device or register 40h of a bridge device are masked. 0 = Read accesses to register 2Ch/40h are not masked (default) 1 = Read accesses to register 2Ch/40h are masked
7
R/W
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
Table 35. Configuration Read Access Results
REGISTER DEVICE MASK, BIT n 0 0 1 1 DEVICE TYPE, BIT n 0 1 0 1 RESULTS OF CONFIGURATION READ ACCESS Read accesses to registers 2Ch/40h of device number n on the secondary bus are passed through the bridge. The bridge does not return any data. Read accesses to registers 2Ch/40h of device number n on the secondary bus are passed through the bridge. The bridge does not return any data. Read accesses to registers 2Ch of device number n on the secondary bus are masked. The bridge returns data from its own register 40h. Read accesses to register 40h of device number n on the secondary bus are masked. The bridge returns data from its own register 40h.
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
63
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
device-type register
Bit Name Type Default R/W 0 R/W 0 R/W 0 0 7 6 5 4 Device type R/W R/W 0 R/W 0 R/W 0 R/W 0 3 2 1 0
Register: Type: Offset: Default: Description:
Device type Read/write (see individual bit descriptions) F3h 00h The device-type register is configured from an EEPROM during system boot up. Each bit of this register corresponds to the device on the secondary bus of the same number. For example, bit 0 corresponds to device 0 on the secondary bus, bit 1 corresponds to device 1 on the secondary bus, bit 2 to device 2, and so on. If a bit value is 1, it indicates that the corresponding device on the secondary bus is a CardBus controller. If the bit is 0, it indicates that the corresponding device on the secondary bus is a standard PCI device. Table 36. Device-Type Register
BIT 7
TYPE R/W
FUNCTION Bit 7 corresponds to device 7 on the secondary bus. When this bit is 1, it indicates that device 7 is a CardBus controller. 0 = Device 7 on the secondary bus is a standard PCI device 1 = Device 7 on the secondary bus is a CardBus controller Bit 6 corresponds to device 6 on the secondary bus. When this bit is 1, it indicates that device 6 is a CardBus controller. 0 = Device 6 on the secondary bus is a standard PCI device 1 = Device 6 on the secondary bus is a CardBus controller Bit 5 corresponds to device 5 on the secondary bus. When this bit is 1, it indicates that device 5 is a CardBus controller. 0 = Device 5 on the secondary bus is a standard PCI device 1 = Device 5 on the secondary bus is a CardBus controller Bit 4 corresponds to device 4 on the secondary bus. When this bit is 1, it indicates that device 4 is a CardBus controller. 0 = Device 4 on the secondary bus is a standard PCI device 1 = Device 4 on the secondary bus is a CardBus controller Bit 3 corresponds to device 3 on the secondary bus. When this bit is 1, it indicates that device 3 is a CardBus controller. 0 = Device 3 on the secondary bus is a standard PCI device 1 = Device 3 on the secondary bus is a CardBus controller Bit 2 corresponds to device 2 on the secondary bus. When this bit is 1, it indicates that device 2 is a CardBus controller. 0 = Device 2 on the secondary bus is a standard PCI device 1 = Device 2 on the secondary bus is a CardBus controller Bit 1 corresponds to device 1 on the secondary bus. When this bit is 1, it indicates that device 1 is a CardBus controller. 0 = Device 1 on the secondary bus is a standard PCI device 1 = Device 1 on the secondary bus is a CardBus controller Bit 0 corresponds to device 0 on the secondary bus. When this bit is 1, it indicates that device 0 is a CardBus controller. 0 = Device 0 on the secondary bus is a standard PCI device 1 = Device 0 on the secondary bus is a CardBus controller
6
R/W
5
R/W
4
R/W
3
R/W
2
R/W
1
R/W
0
R/W
64
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
absolute maximum ratings over operating temperature ranges (unless otherwise noted)
Supply voltage range: VCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to 4.6 V VCCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to 6 V Input voltage range, VI: Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Output voltage range, VO: Standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 V to VCC + 0.5 V Input clamp current, IIK (VI < 0 or VI > VCC) (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 mA Output clamp current, IOK (VO < 0 or VO > VCC) (see Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 mA Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -65C to 150C Virtual junction temperature, TJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150C
Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. NOTES: 1. Applies to external input and bidirectional buffers. VI > VCC does not apply to fail-safe terminals. 2. Applies to external output and bidirectional buffers. VO > VCC does not apply to fail-safe terminals.
recommended operating conditions
MIN tt TA TJ Input transition (rise and fall) time Operating ambient temperature range Virtual junction temperature CMOS compatible Commercial Commercial 1 0 0 25 25 NOM MAX 4 70 115 UNIT ns C C
These junction temperatures reflect simulation conditions. The customer is responsible for verifying junction temperature.
recommended operating conditions for PCI interface
OPERATION VCC VCCP VI VO VIH VIL Core voltage PCI supply voltage Input voltage Commercial Commercial 3.3 V 3.3 V 5V 3.3 V 5V 3.3 V Output voltage High-level inp t oltage High le el input voltage Low level input voltage Low-level CMOS compatible CMOS compatible 5V 3.3 V 5V 3.3 V 5V MIN 3 3 4.75 0 0 0 0 0.5 VCCP 2 0.3 VCCP 0.8 NOM 3.3 3.3 5 MAX 3.6 3.6 5.25 VCCP VCCP VCCP VCCP UNIT V V V V V V
Applies to external output buffers Applies to external input and bidirectional buffers without hysteresis
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
65
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
electrical characteristics over recommended operating conditions (unless otherwise noted)
PARAMETER VOH VOL High le el output voltage High-level o tp t oltage SIDE TEST CONDITIONS IOH = -0.5 mA IOH = -2 mA IOL = 1.5 mA IOL = 6 mA Input pins IIH High-level High level input current I/O pins Input pins IIL Low-level Low level input current I/O pins VI = VCC VI = GND VI = GND VI = VCC OPERATION 3.3 V 5V 3.3 V 5V 3.6 V 5.25 V 3.6 V 5.25 V 3.6 V to 5.25 V 3.6 V to 5.25 V MIN 0.9 VCC 2.4 0.1 VCC 0.55 10 20 20 25 -1 -20 20 A A A A MAX UNIT V
Low-level Low level output voltage
V
IOZ High-impedance output current VO = VCCP or GND For PCI pins, VCC = VCCP. For I/O pins, the input leakage current includes the off-state output current IOZ.
PCI clock/reset timing requirements over recommended ranges of supply voltage and operating free-air temperature (see Figure 7 and Figure 8)
ALTERNATE SYMBOL tc twH twL v/t tw Cycle time, PCLK Pulse duration, PCLK high Pulse duration, PCLK low Slew rate, PCLK Pulse duration, RSTIN tcyc thigh tlow tr, tf trst MIN 30 11 11 1 1 4 MAX UNIT ns ns ns V/ns ms
tsu Setup time, PCLK active at end of RSTIN (see Note 3 ) trst-clk 100 ms NOTE 3: The setup and hold times for the secondary are identical to those for the primary; however, the times are relative to the secondary PCI close.
PCI timing requirements over recommended ranges of supply voltage and operating free-air temperature (see Note 4 and Figure 6 and Figure 9)
ALTERNATE SYMBOL PCLK to shared signal valid delay time PCLK to shared signal invalid delay time tval CL = 50 pF See Note 5 pF, tinv ton toff tsu, See Note 3 th, See Note 3 7 0 2 2 28 ns ns ns ns TEST CONDITIONS MIN MAX 11 ns UNIT
tpd d
Propagation delay time
ten tdis tsu th
Enable time, high-impedance-to-active delay time from PCLK Disable time, active-to-high-impedance delay time from PCLK Setup time before PCLK valid Hold time after PCLK high
4. This data sheet uses the following conventions to describe time (t) intervals. The format is: tA, where subscript A indicates the type of dynamic parameter being represented. One of the following is used: tpd = propagation delay time, td = delay time, tsu = setup time, and th = hold time. 5. PCI shared signals are AD31-AD0, C/BE3-C/BE0, FRAME, TRDY, IRDY, STOP, IDSEL, DEVSEL, and PAR.
66
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
PARAMETER MEASUREMENT INFORMATION
LOAD CIRCUIT PARAMETERS TIMING PARAMETER tPZH ten tPZL tPHZ tdis tPLZ tpd CLOAD (pF) 50 50 50 IOL (mA) 8 8 8 IOH (mA) -8 -8 -8 VLOAD (V) 0 3 1.5 From Output Under Test Test Point VLOAD CLOAD IOH IOL
CLOAD includes the typical load-circuit distributed capacitance. VLOAD - VOL = 50 , where V OL = 0.6 V, IOL = 8 mA IOL LOAD CIRCUIT Timing Input (see Note A ) tsu Data Input 90% VCC 10% VCC tr 50% VCC VCC 50% VCC 0V th VCC 50% VCC tf 0V Low-Level Input tw 50% VCC High-Level Input 50% VCC
VCC 50% VCC 0V
VCC 50% VCC 0V
VOLTAGE WAVEFORMS SETUP AND HOLD TIMES INPUT RISE AND FALL TIMES Output Control (low-level enabling) tPZL 0V tpd In-Phase Output tpd Out-of-Phase Output 50% VCC 50% VCC tpd VOH 50% VCC VOL tpd VOH 50% VCC VOL Waveform 1 (see Note B) tPZH Waveform 2 (see Note B)
VOLTAGE WAVEFORMS PULSE DURATION VCC 50% VCC 50% VCC 0V tPLZ VCC 50% VCC VOL + 0.3 V VOL VOH VOH - 0.3 V 50% VCC 0V
Input (see Note A)
VCC 50% VCC 50% VCC
50% VCC tPHZ
50% VCC
VOLTAGE WAVEFORMS PROPAGATION DELAY TIMES
VOLTAGE WAVEFORMS ENABLE AND DISABLE TIMES, 3-STATE OUTPUTS
NOTES: A. Phase relationships between waveforms were chosen arbitrarily. All input pulses are supplied by pulse generators having the following characteristics: PRR = 1 MHz, ZO = 50 , tr 6 ns, tf 6 ns. B. Waveform 1 is for an output with internal conditions such that the output is low except when disabled by the output control. Waveform 2 is for an output with internal conditions such that the output is high except when disabled by the output control. C. For tPLZ and tPHZ, VOL and VOH are measured values.
Figure 6. Load Circuit and Voltage Waveforms
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
67
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
PCI BUS PARAMETER MEASUREMENT INFORMATION
twH 2V 0.8 V tr tc tf twL 2 V MIN Peak to Peak
Figure 7. PCLK Timing Waveform
PCLK
tw RSTIN tsu
Figure 8. RSTIN Timing Waveforms
PCLK
1.5 V tpd tpd Valid toff Valid tsu th
PCI Output
1.5 V ton
PCI Input
Figure 9. Shared-Signals Timing Waveforms
68
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
PCI2031 PCI-TO-PCI BRIDGE
SCPS017A - DECEMBER 1997 - REVISED JANUARY 1998
MECHANICAL DATA
PGF (S-PQFP-G176)
132 89
PLASTIC QUAD FLATPACK
133
88 0,27 0,17
0,08 M
0,50
0,13 NOM 176 45
1 21,50 SQ 24,20 SQ 23,80 26,20 SQ 25,80 1,45 1,35
44
Gage Plane
0,05 MIN
0,25 0- 7 0,75 0,45
Seating Plane 1,60 MAX 0,08 4040134 / B 11/96 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. C. Falls within JEDEC MS-026
POST OFFICE BOX 655303
* DALLAS, TEXAS 75265
69
IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI's standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ("CRITICAL APPLICATIONS"). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK. In order to minimize risks associated with the customer's applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI's publication of information regarding any third party's products or services does not constitute TI's approval, warranty or endorsement thereof.
Copyright (c) 1998, Texas Instruments Incorporated
WWW..COM
Copyright (c) Each Manufacturing Company. All Datasheets cannot be modified without permission.
This datasheet has been download from : www..com
100% Free DataSheet Search Site. Free Download. No Register. Fast Search System. www..com


▲Up To Search▲   

 
Price & Availability of PCI2031

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X